lpc176x: Use "communication interface" menu option in Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1804fbfce9
commit
2024451f50
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue