diff options
Diffstat (limited to 'boards/base/STM32F429i-Discovery/example_chibios_2.x')
-rw-r--r-- | boards/base/STM32F429i-Discovery/example_chibios_2.x/halconf.h | 4 | ||||
-rw-r--r-- | boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h | 2 |
2 files changed, 4 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 8c45a63b..5fed2f43 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 TRUE +#define HAL_USE_I2C FALSE #endif /** @@ -139,7 +139,7 @@ * @brief Enables the SPI subsystem. */ #if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) -#define HAL_USE_SPI TRUE +#define HAL_USE_SPI FALSE #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 222958fe..f9d4624f 100644 --- a/boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h +++ b/boards/base/STM32F429i-Discovery/example_chibios_2.x/mcuconf.h @@ -136,6 +136,7 @@ /* * I2C driver system settings. */ +#define HAL_USE_I2C TRUE #define STM32_I2C_USE_I2C1 FALSE #define STM32_I2C_USE_I2C2 FALSE #define STM32_I2C_USE_I2C3 TRUE @@ -222,6 +223,7 @@ /* * SPI driver system settings. */ +#define HAL_USE_SPI TRUE #define STM32_SPI_USE_SPI1 FALSE #define STM32_SPI_USE_SPI2 FALSE #define STM32_SPI_USE_SPI3 FALSE |