diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-03-18 14:23:24 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-03-18 14:23:24 -0400 |
commit | 2024451f50414fe962c1b26f5ee37c5fced73c02 (patch) | |
tree | 12f06eab8db0438031506ab25308af152e506433 | |
parent | 1804fbfce9e3dc354ba10e955b807fe35cddeac9 (diff) | |
download | kutter-2024451f50414fe962c1b26f5ee37c5fced73c02.tar.gz kutter-2024451f50414fe962c1b26f5ee37c5fced73c02.tar.xz kutter-2024451f50414fe962c1b26f5ee37c5fced73c02.zip |
lpc176x: Use "communication interface" menu option in Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/lpc176x/Kconfig | 14 |
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 |