Browse Source

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

nongxiaoming 4 years ago
parent
commit
1af61b3bc7

+ 1 - 1
bsp/stm32/stm32f429-st-disco/.config

@@ -144,7 +144,7 @@ CONFIG_RT_USING_PIN=y
 # CONFIG_RT_USING_PM is not set
 # CONFIG_RT_USING_RTC 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_AUDIO is not set
 # CONFIG_RT_USING_SENSOR is not set

+ 1 - 1
bsp/stm32/stm32f429-st-disco/board/Kconfig

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

+ 1 - 1
bsp/stm32/stm32f429-st-disco/rtconfig.h

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