boards: nrf52840dongle: Enable serial conditionally

Do not force SERIAL and UART_INTERRUPT_DRIVEN unconditionally.

Fixes #22892.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2020-09-17 19:03:18 +02:00 committed by Carles Cufí
commit b8d13d6fdd
2 changed files with 7 additions and 4 deletions

View file

@ -32,6 +32,13 @@ config USB_NRFX
config USB_DEVICE_STACK
default y
# Enable UART driver, needed for CDC ACM
config SERIAL
default USB_CDC_ACM
config UART_INTERRUPT_DRIVEN
default USB_CDC_ACM
endif # USB
config BT_CTLR

View file

@ -13,10 +13,6 @@ CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# Enable UART driver, needed for CDC ACM
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# enable console
CONFIG_CONSOLE=y