From e0e7d9f9b0e4aeba2b34b4a959e240a238fb0a5f Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 25 Jan 2012 00:09:58 +0000 Subject: STM32 F4 I2C updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/stm3240g-eval/include/board.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nuttx/configs') diff --git a/nuttx/configs/stm3240g-eval/include/board.h b/nuttx/configs/stm3240g-eval/include/board.h index 3096396af..aae5f0e22 100755 --- a/nuttx/configs/stm3240g-eval/include/board.h +++ b/nuttx/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 ************************************************************************************/ -- cgit v1.2.3