aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-03-18 14:22:57 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-03-18 14:22:57 -0400
commit6a4f1ece8909a891c97a2e12adaf005ede0ac3c9 (patch)
tree1a4f697cbf65b3d6582247ab8db96d963b9fe3aa /src
parentc5f21aa16cdc80f693a0b6361b73951fd0b21488 (diff)
downloadkutter-6a4f1ece8909a891c97a2e12adaf005ede0ac3c9.tar.gz
kutter-6a4f1ece8909a891c97a2e12adaf005ede0ac3c9.tar.xz
kutter-6a4f1ece8909a891c97a2e12adaf005ede0ac3c9.zip
atsam: Use "communication interface" menu option in Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/atsam/Kconfig14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/atsam/Kconfig b/src/atsam/Kconfig
index 85ba12ae..a3d8566d 100644
--- a/src/atsam/Kconfig
+++ b/src/atsam/Kconfig
@@ -80,11 +80,17 @@ config STACK_SIZE
default 512
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 ATSAM_USB
+ bool "USB"
+ select USBSERIAL
+ config ATSAM_SERIAL
+ bool "Serial"
+ select SERIAL
+endchoice
endif