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:
parent
ae8dd14887
commit
b8d13d6fdd
2 changed files with 7 additions and 4 deletions
|
@ -32,6 +32,13 @@ config USB_NRFX
|
||||||
config USB_DEVICE_STACK
|
config USB_DEVICE_STACK
|
||||||
default y
|
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
|
endif # USB
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
|
|
|
@ -13,10 +13,6 @@ CONFIG_HW_STACK_PROTECTION=y
|
||||||
# enable GPIO
|
# enable GPIO
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
|
|
||||||
# Enable UART driver, needed for CDC ACM
|
|
||||||
CONFIG_SERIAL=y
|
|
||||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
||||||
|
|
||||||
# enable console
|
# enable console
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue