Skip to content

Commit 69df9a5

Browse files
mkapala-nordicjukkar
authored andcommitted
[nrf noup] boards: arm: thingy53: Disable USB CDC added by MCUBoot
Enabling USB CDC by default in Thingy:53 board configuration caused that there were two instances of USB CDC in MCUBoot. Change disables one instance which was added automatically by NCS if MCUBoot bootloader was built as a child image. Jira: NCSDK-18596 Signed-off-by: Mateusz Kapala <[email protected]> Signed-off-by: Johann Fischer <[email protected]> (cherry picked from commit 6d1e377)
1 parent 6120a94 commit 69df9a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boards/nordic/thingy53/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ endif # !TRUSTED_EXECUTION_SECURE
8484

8585
source "boards/common/usb/Kconfig.cdc_acm_serial.defconfig"
8686

87+
# By default, a USB CDC ACM instance is already enabled in the board's DTS.
88+
# It is not necessary for nRF Connect SDK to add another instance if MCUBoot
89+
# bootloader is built as a child image.
90+
config MCUBOOT_USB_SUPPORT
91+
bool
92+
default n
93+
8794
endif # BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS
8895

8996
if BOARD_THINGY53_NRF5340_CPUNET

0 commit comments

Comments
 (0)