2022-11-10 22:22:48 +08:00
|
|
|
menu "Hardware Drivers"
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
menuconfig BSP_USING_UART
|
|
|
|
bool "Enable UART"
|
|
|
|
default y
|
|
|
|
select USE_SERIAL # sdk serial component
|
|
|
|
select ENABLE_Pl011_UART # select sdk pl011 driver
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
if BSP_USING_UART
|
|
|
|
config RT_USING_UART1
|
|
|
|
bool "Enable UART1"
|
|
|
|
default y
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
config RT_USING_UART0
|
|
|
|
bool "Enable UART0"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|