lpc176x: Use "communication interface" menu option in Kconfig

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-03-18 14:23:24 -04:00
parent 1804fbfce9
commit 2024451f50
1 changed files with 11 additions and 5 deletions

View File

@ -61,11 +61,17 @@ config FLASH_START
default 0x0000 default 0x0000
config USBSERIAL config USBSERIAL
bool "Use USB for communication (instead of serial)"
default y
config SERIAL
depends on !USBSERIAL
bool bool
default y config SERIAL
bool
choice
prompt "Communication interface"
config LPC_USB
bool "USB"
select USBSERIAL
config LPC_SERIAL
bool "Serial"
select SERIAL
endchoice
endif endif