boards: arm: bl654_usb: Fix USB CDC enablement with MCUboot

Prevents USB being initialised at boot if target is MCUboot, this
allows for building MCUboot with serial recovery without preventing
it from working.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2022-12-19 16:30:58 +00:00 committed by Carles Cufí
commit 9b6052d499

View file

@ -37,7 +37,7 @@ config UART_CONSOLE
default CONSOLE
config USB_DEVICE_INITIALIZE_AT_BOOT
default y
default y if !MCUBOOT
config SHELL_BACKEND_SERIAL_CHECK_DTR
default SHELL