tests: boot: mcuboot_recovery_retention: Move USB CDC to USB device

Moves the USB CDC device to the USB CDC port instead of wrongly
using the serial port, this was not used but is needed to prevent a
build error added to MCUboot which prevents using the same device
for console and serial recovery chosen nodes

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-11-07 11:18:35 +00:00 committed by Carles Cufí
commit 38060ea2a0
2 changed files with 18 additions and 0 deletions

View file

@ -3,6 +3,7 @@
/ {
chosen {
zephyr,boot-mode = &boot_mode0;
zephyr,uart-mcumgr = &cdc_acm_uart;
};
};
@ -16,6 +17,14 @@
};
};
&zephyr_udc0 {
status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
};
};
/delete-node/ &boot_partition;
/delete-node/ &slot0_partition;
/delete-node/ &slot1_partition;

View file

@ -26,6 +26,15 @@
chosen {
zephyr,boot-mode = &boot_mode0;
zephyr,uart-mcumgr = &cdc_acm_uart;
};
};
&zephyr_udc0 {
status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
};
};