aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/STM32F429i-Discovery/example_chibios_2.x
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/STM32F429i-Discovery/example_chibios_2.x')
-rw-r--r--boards/base/STM32F429i-Discovery/example_chibios_2.x/halconf.h2
-rw-r--r--boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/boards/base/STM32F429i-Discovery/example_chibios_2.x/halconf.h b/boards/base/STM32F429i-Discovery/example_chibios_2.x/halconf.h
index e0ef55fe..8c45a63b 100644
--- a/boards/base/STM32F429i-Discovery/example_chibios_2.x/halconf.h
+++ b/boards/base/STM32F429i-Discovery/example_chibios_2.x/halconf.h
@@ -76,7 +76,7 @@
* @brief Enables the I2C subsystem.
*/
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
-#define HAL_USE_I2C FALSE
+#define HAL_USE_I2C TRUE
#endif
/**
diff --git a/boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h b/boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h
index d0b1d6a4..222958fe 100644
--- a/boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h
+++ b/boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h
@@ -138,7 +138,7 @@
*/
#define STM32_I2C_USE_I2C1 FALSE
#define STM32_I2C_USE_I2C2 FALSE
-#define STM32_I2C_USE_I2C3 FALSE
+#define STM32_I2C_USE_I2C3 TRUE
#define STM32_I2C_I2C1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 0)
#define STM32_I2C_I2C1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
#define STM32_I2C_I2C2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)