You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
903 B
30 lines
903 B
menu "Letter shell configuration"
|
|
choice LETTER_SHELL_USART_TYPE
|
|
prompt "Usart drivers"
|
|
default LS_PL011_UART
|
|
help
|
|
Select Usart Driver for Letter Shell
|
|
|
|
config LS_PL011_UART
|
|
select USE_SERIAL
|
|
select ENABLE_Pl011_UART
|
|
bool "Pl011"
|
|
|
|
if LS_PL011_UART
|
|
choice LETTER_SHELL_USE_UART_INSTANCE
|
|
prompt "Select debug uart instance"
|
|
default DEFAULT_LETTER_SHELL_USE_UART1
|
|
help
|
|
Select arch for build
|
|
config DEFAULT_LETTER_SHELL_USE_UART1
|
|
bool "Use uart1"
|
|
config DEFAULT_LETTER_SHELL_USE_UART0
|
|
bool "Use uart0"
|
|
config DEFAULT_LETTER_SHELL_USE_UART2
|
|
bool "Use uart2"
|
|
endchoice # SHELL_USE_UART
|
|
|
|
endif
|
|
|
|
endchoice # LETTER_SHELL_USART_TYPE
|
|
endmenu
|