diff options
author | flabbergast <s3+flabbergast@sdfeu.org> | 2016-04-16 20:26:40 +0100 |
---|---|---|
committer | flabbergast <s3+flabbergast@sdfeu.org> | 2016-04-24 18:36:00 +0100 |
commit | cee50b34e2a62d11913eddb47be5f9c271063203 (patch) | |
tree | adc093ecfad0dd8f43d45448a8c0a66dae341afd /os | |
parent | a5cd9d134b1be7e3a80451f4cd57684a04616b60 (diff) | |
download | ChibiOS-Contrib-cee50b34e2a62d11913eddb47be5f9c271063203.tar.gz ChibiOS-Contrib-cee50b34e2a62d11913eddb47be5f9c271063203.tar.bz2 ChibiOS-Contrib-cee50b34e2a62d11913eddb47be5f9c271063203.zip |
[KINETIS] Add FRDM-KL26Z/I2C demo.
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/boards/FREESCALE_FREEDOM_KL26Z/board.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/boards/FREESCALE_FREEDOM_KL26Z/board.h b/os/hal/boards/FREESCALE_FREEDOM_KL26Z/board.h index e13debb..2ae42aa 100644 --- a/os/hal/boards/FREESCALE_FREEDOM_KL26Z/board.h +++ b/os/hal/boards/FREESCALE_FREEDOM_KL26Z/board.h @@ -49,11 +49,13 @@ #define GPIO_LIGHTSNS IOPORT5
#define PIN_LIGHTSNS 22
-#define I2C_INERIAL_SENSOR I2C0
-
/*
* Not configured:
* - TSI Slider on PTB16/TSI0_CH9 and PTB17/TSI_CH10
+ * - I2C inertial sensor on I2C0, routed to PTE25 and PTE25
+ * Note: these pins are assigned to I2C0 by default;
+ * if I2C0 is wanted on other pins, these need to be
+ * assigned another function explicitly!
*/
#if !defined(_FROM_ASM_)
|