aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsam/Kconfig')
-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