aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lpc176x/Kconfig14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/lpc176x/Kconfig b/src/lpc176x/Kconfig
index 1b1d908b..60c22fde 100644
--- a/src/lpc176x/Kconfig
+++ b/src/lpc176x/Kconfig
@@ -61,11 +61,17 @@ config FLASH_START
default 0x0000
config USBSERIAL
- bool "Use USB for communication (instead of serial)"
- default y
+ bool
config SERIAL
- depends on !USBSERIAL
bool
- default y
+choice
+ prompt "Communication interface"
+ config LPC_USB
+ bool "USB"
+ select USBSERIAL
+ config LPC_SERIAL
+ bool "Serial"
+ select SERIAL
+endchoice
endif