Skip to content

Commit 1af61b3

Browse files
committed
[bsp] stm32f429-st-disco:modify to use RT_USING_SPI default.
1 parent e548b77 commit 1af61b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: bsp/stm32/stm32f429-st-disco/.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ CONFIG_RT_USING_PIN=y
144144
# CONFIG_RT_USING_PM is not set
145145
# CONFIG_RT_USING_RTC is not set
146146
# CONFIG_RT_USING_SDIO is not set
147-
# CONFIG_RT_USING_SPI is not set
147+
CONFIG_RT_USING_SPI=y
148148
# CONFIG_RT_USING_WDT is not set
149149
# CONFIG_RT_USING_AUDIO is not set
150150
# CONFIG_RT_USING_SENSOR is not set

Diff for: bsp/stm32/stm32f429-st-disco/board/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ menu "On-chip Peripheral Drivers"
6868
menuconfig BSP_USING_SPI
6969
bool "Enable SPI BUS"
7070
select RT_USING_SPI
71-
default n
71+
default y
7272
if BSP_USING_SPI
7373
config BSP_USING_SPI3
7474
bool "Enable SPI3 BUS"

Diff for: bsp/stm32/stm32f429-st-disco/rtconfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
#define RT_USING_I2C
9393
#define RT_USING_I2C_BITOPS
9494
#define RT_USING_PIN
95-
95+
#define RT_USING_SPI
9696
/* Using USB */
9797

9898

0 commit comments

Comments
 (0)