Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions bsp/gd32/arm/gd32527I-eval/board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -258,19 +258,28 @@ menu "On-chip Peripheral Drivers"
default n
select RT_USING_SPI
if BSP_USING_SPI
config BSP_USING_SPI0
bool "Enable SPI0 BUS"
default n

config BSP_USING_SPI1
bool "Enable SPI1 BUS"
default n

config BSP_SPI1_TX_USING_DMA
bool "Enable SPI1 TX DMA"
depends on BSP_USING_SPI1
config BSP_USING_SPI2
bool "Enable SPI2 BUS"
default n

config BSP_USING_SPI3
bool "Enable SPI3 BUS"
default n

config BSP_USING_SPI4
bool "Enable SPI4 BUS"
default n

config BSP_SPI1_RX_USING_DMA
bool "Enable SPI1 RX DMA"
depends on BSP_USING_SPI1
select BSP_SPI1_TX_USING_DMA
config BSP_USING_SPI5
bool "Enable SPI5 BUS"
default n
endif

Expand Down
25 changes: 25 additions & 0 deletions bsp/gd32/arm/gd32h759i-eval/board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,31 @@ menu "On-chip Peripheral Drivers"
endif
endif

menuconfig BSP_USING_SPI
bool "Enable SPI BUS"
default n
select RT_USING_SPI
if BSP_USING_SPI
config BSP_USING_SPI0
bool "Enable SPI0 BUS"
default n
config BSP_USING_SPI1
bool "Enable SPI1 BUS"
default n
config BSP_USING_SPI2
bool "Enable SPI2 BUS"
default n
config BSP_USING_SPI3
bool "Enable SPI3 BUS"
default n
config BSP_USING_SPI4
bool "Enable SPI4 BUS"
default n
config BSP_USING_SPI5
bool "Enable SPI5 BUS"
default n
endif

source "$(BSP_DIR)/../libraries/gd32_drivers/Kconfig"
endmenu

Expand Down
Loading