summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-25 00:09:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-25 00:09:58 +0000
commite0e7d9f9b0e4aeba2b34b4a959e240a238fb0a5f (patch)
treeedb40dfd111182351ed7df44d883cafabf24cd27 /nuttx/configs
parent73914fb947019bd12dc1bd95e6e425db0c0b0550 (diff)
downloadpx4-nuttx-e0e7d9f9b0e4aeba2b34b4a959e240a238fb0a5f.tar.gz
px4-nuttx-e0e7d9f9b0e4aeba2b34b4a959e240a238fb0a5f.tar.bz2
px4-nuttx-e0e7d9f9b0e4aeba2b34b4a959e240a238fb0a5f.zip
STM32 F4 I2C updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-xnuttx/configs/stm3240g-eval/include/board.h10
1 files changed, 10 insertions, 0 deletions
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
************************************************************************************/