forked from xuos/xiuos
optimize kconfig for w5500
This commit is contained in:
parent
7aac1926f3
commit
4429d743ba
|
@ -11,7 +11,7 @@ menuconfig BSP_USING_SPI
|
||||||
bool "Using SPI device"
|
bool "Using SPI device"
|
||||||
default n
|
default n
|
||||||
select RESOURCES_SPI
|
select RESOURCES_SPI
|
||||||
select BSP_USING_DMA
|
select BSP_USING_DMA
|
||||||
if BSP_USING_SPI
|
if BSP_USING_SPI
|
||||||
source "$BSP_DIR/third_party_driver/spi/Kconfig"
|
source "$BSP_DIR/third_party_driver/spi/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
@ -117,6 +117,7 @@ menuconfig BSP_USING_WIZCHIP
|
||||||
bool "Using w5500 as network device"
|
bool "Using w5500 as network device"
|
||||||
default n
|
default n
|
||||||
select RESOURCES_WIZCHIP
|
select RESOURCES_WIZCHIP
|
||||||
|
select BSP_USING_SPI
|
||||||
if BSP_USING_WIZCHIP
|
if BSP_USING_WIZCHIP
|
||||||
source "$BSP_DIR/third_party_driver/ethernet/Kconfig"
|
source "$BSP_DIR/third_party_driver/ethernet/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue