mirror of https://github.com/Desuuuu/klipper.git
atsam: Use "communication interface" menu option in Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c5f21aa16c
commit
6a4f1ece89
|
@ -80,11 +80,17 @@ config STACK_SIZE
|
||||||
default 512
|
default 512
|
||||||
|
|
||||||
config USBSERIAL
|
config USBSERIAL
|
||||||
bool "Use USB for communication (instead of serial)"
|
|
||||||
default y
|
|
||||||
config SERIAL
|
|
||||||
depends on !USBSERIAL
|
|
||||||
bool
|
bool
|
||||||
default y
|
config SERIAL
|
||||||
|
bool
|
||||||
|
choice
|
||||||
|
prompt "Communication interface"
|
||||||
|
config ATSAM_USB
|
||||||
|
bool "USB"
|
||||||
|
select USBSERIAL
|
||||||
|
config ATSAM_SERIAL
|
||||||
|
bool "Serial"
|
||||||
|
select SERIAL
|
||||||
|
endchoice
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue