From 400c96002cbe38574605d1450ebe92e2058e05e6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 25 Jan 2012 00:09:58 +0000 Subject: [PATCH] STM32 F4 I2C updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3 --- configs/stm3240g-eval/include/board.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configs/stm3240g-eval/include/board.h b/configs/stm3240g-eval/include/board.h index 3096396af2..aae5f0e221 100755 --- a/configs/stm3240g-eval/include/board.h +++ b/configs/stm3240g-eval/include/board.h @@ -410,6 +410,16 @@ #define GPIO_CAN2_RX GPIO_CAN2_RX_2 #define GPIO_CAN2_TX GPIO_CAN2_TX_1 +/* I2C. Only I2C1 is available on the STM3240G-EVAL. I2C1_SCL and I2C1_SDA are + * available on the following pins: + * + * - PB6 is I2C1_SCL + * - PB9 is I2C1_SDA + */ + +#define GPIO_I2C1_SCL GPIO_I2C1_SCL_1 +#define GPIO_I2C1_SDA GPIO_I2C1_SDA_2 + /************************************************************************************ * Public Data ************************************************************************************/