49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
menu "Hardware Drivers Config"
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
endmenu
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
menuconfig BSP_USING_UART
|
|
bool "Enable UART"
|
|
default y
|
|
select RT_USING_SERIAL
|
|
if BSP_USING_UART
|
|
config BSP_USING_UART0
|
|
bool "Enable UART0"
|
|
default y
|
|
endif
|
|
|
|
menuconfig BSP_USING_SDIO
|
|
bool "Enable SDIO"
|
|
default y
|
|
if BSP_USING_SDIO
|
|
config BSP_USING_SD0
|
|
bool "Enable SD0 EMMC"
|
|
default y
|
|
endif
|
|
comment "Please set RT_LWIP_PBUF_NUM is at least 256 if Enable Ethernet!"
|
|
comment "Please set RT_LWIP_MEM_ALIGNMENT is at 32 if Enable Ethernet!"
|
|
menuconfig BSP_USING_ETH
|
|
bool "Enable Ethernet"
|
|
default n
|
|
select RT_USING_NETDEV
|
|
select RT_USING_LWIP
|
|
if BSP_USING_ETH
|
|
config RT_LWIP_PBUF_POOL_BUFSIZE
|
|
int "The size of each pbuf in the pbuf pool"
|
|
range 1500 2000
|
|
default 1700
|
|
endif
|
|
|
|
endmenu
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
endmenu
|
|
|
|
endmenu
|
|
|