diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-03-18 14:22:57 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-03-18 14:22:57 -0400 |
commit | 6a4f1ece8909a891c97a2e12adaf005ede0ac3c9 (patch) | |
tree | 1a4f697cbf65b3d6582247ab8db96d963b9fe3aa /src | |
parent | c5f21aa16cdc80f693a0b6361b73951fd0b21488 (diff) | |
download | kutter-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/Kconfig | 14 |
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 |