40 lines
839 B
Plaintext
40 lines
839 B
Plaintext
|
menu "Hardware Drivers Config"
|
||
|
|
||
|
menu "On-chip Peripheral Drivers"
|
||
|
config BSP_USING_GPIO
|
||
|
bool "Enable GPIO"
|
||
|
select RT_USING_PIN
|
||
|
default y
|
||
|
|
||
|
source "drivers/ES/Kconfig"
|
||
|
|
||
|
endmenu
|
||
|
|
||
|
menu "Onboard Peripheral Drivers"
|
||
|
|
||
|
config BSP_USING_SPI_FLASH
|
||
|
bool "Enable SPI FLASH (W25Q64 spi0)"
|
||
|
select BSP_USING_SPI
|
||
|
select RT_USING_SFUD
|
||
|
select RT_SFUD_USING_SFDP
|
||
|
default n
|
||
|
|
||
|
if BSP_USING_SPI_FLASH
|
||
|
|
||
|
config ES_DEVICE_NAME_SPI_DEV
|
||
|
string "The name of spi device (registered)"
|
||
|
default "spi00"
|
||
|
|
||
|
config ES_DEVICE_NAME_SPI_FALSH_DEV
|
||
|
string "The name of spi flash device"
|
||
|
default "W25Q64"
|
||
|
endif
|
||
|
|
||
|
endmenu
|
||
|
|
||
|
menu "Offboard Peripheral Drivers"
|
||
|
|
||
|
endmenu
|
||
|
|
||
|
endmenu
|