From 9b6052d499c563ad50e71b070c64d685f8e754fd Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Mon, 19 Dec 2022 16:30:58 +0000 Subject: [PATCH] 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 --- boards/arm/bl654_usb/Kconfig.defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/bl654_usb/Kconfig.defconfig b/boards/arm/bl654_usb/Kconfig.defconfig index 5cd5068052d..55a05cd2176 100644 --- a/boards/arm/bl654_usb/Kconfig.defconfig +++ b/boards/arm/bl654_usb/Kconfig.defconfig @@ -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