summaryrefslogtreecommitdiff
path: root/nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h')
-rw-r--r--nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h b/nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h
index 5fb9f5337..6935752e3 100644
--- a/nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h
+++ b/nuttx/configs/dk-tm4c129x/src/dk-tm4c129x.h
@@ -114,6 +114,16 @@
#define GPIO_SD_CS (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STD | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTH | GPIO_PIN_4)
+/* I2C *****************************************************************************/
+/* I2C3: PG4-5 are provide to the BoostPack 1 interface
+ * I2C7: PA4-5 are provide to the BoostPack 2 interface
+ * I2C6: PB6-7 are used for I2C to the TMP100 and the EM connector.
+ * J18 and J20 must be closed to connect the TMP100.
+ * I2C address is 0x4A
+ */
+
+#define TMP100_I2CADDR 0x4a
+
/* Speaker outputs *****************************************************************/
/* PB2/PD4 are used for the speaker output */