[bsp] stm32f429-st-disco:modify to use RT_USING_SPI default.

This commit is contained in:
nongxiaoming 2020-08-12 16:02:51 +08:00
parent e548b77da0
commit 1af61b3bc7
3 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_PM is not set # CONFIG_RT_USING_PM is not set
# CONFIG_RT_USING_RTC is not set # CONFIG_RT_USING_RTC is not set
# CONFIG_RT_USING_SDIO is not set # CONFIG_RT_USING_SDIO is not set
# CONFIG_RT_USING_SPI is not set CONFIG_RT_USING_SPI=y
# CONFIG_RT_USING_WDT is not set # CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_AUDIO is not set # CONFIG_RT_USING_AUDIO is not set
# CONFIG_RT_USING_SENSOR is not set # CONFIG_RT_USING_SENSOR is not set

View File

@ -68,7 +68,7 @@ menu "On-chip Peripheral Drivers"
menuconfig BSP_USING_SPI menuconfig BSP_USING_SPI
bool "Enable SPI BUS" bool "Enable SPI BUS"
select RT_USING_SPI select RT_USING_SPI
default n default y
if BSP_USING_SPI if BSP_USING_SPI
config BSP_USING_SPI3 config BSP_USING_SPI3
bool "Enable SPI3 BUS" bool "Enable SPI3 BUS"

View File

@ -92,7 +92,7 @@
#define RT_USING_I2C #define RT_USING_I2C
#define RT_USING_I2C_BITOPS #define RT_USING_I2C_BITOPS
#define RT_USING_PIN #define RT_USING_PIN
#define RT_USING_SPI
/* Using USB */ /* Using USB */