Add Kinetis_i2c settings consistent with whitefox mcuconf

This commit is contained in:
jpetermans 2017-04-06 14:23:14 -07:00
parent 91f2e9fb5e
commit 56be300757
1 changed files with 7 additions and 4 deletions

View File

@ -47,9 +47,12 @@
* USB driver settings * USB driver settings
*/ */
#define KINETIS_USB_USE_USB0 TRUE #define KINETIS_USB_USE_USB0 TRUE
/* Need to redefine this, since the default is for K20x */ #define KINETIS_USB_USB0_IRQ_PRIORITY 5
/* This is for Teensy LC; you should comment it out (or change to 5)
* for Teensy 3.x */ /*
#define KINETIS_USB_USB0_IRQ_PRIORITY 2 * I2C driver settings
*/
#define KINETIS_I2C_USE_I2C0 TRUE
#define KINETIS_I2C_I2C0_PRIORITY 4
#endif /* _MCUCONF_H_ */ #endif /* _MCUCONF_H_ */