From d5a3ef6c405d75e0a79668175c833cf11ac3334d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 18 Mar 2021 14:45:12 -0400 Subject: [PATCH] avr: Fix Kconfig USB/Serial selection Signed-off-by: Kevin O'Connor --- src/avr/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/avr/Kconfig b/src/avr/Kconfig index f1e747ab..260e5a84 100644 --- a/src/avr/Kconfig +++ b/src/avr/Kconfig @@ -104,10 +104,13 @@ config AVR_WATCHDOG default y config USBSERIAL + depends on (MACH_at90usb1286 || MACH_at90usb646 || MACH_atmega32u4) && !AVR_SERIAL_UART1 bool + default y config SERIAL + depends on !USBSERIAL bool - default y if !USBSERIAL + default y choice prompt "Communication interface" if LOW_LEVEL_OPTIONS && (MACH_atmega2560 || MACH_atmega1280 || MACH_atmega644p || MACH_atmega1284p || MACH_at90usb1286 || MACH_at90usb646 || MACH_atmega32u4) config AVR_USB