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:
parent
e60878e7eb
commit
38060ea2a0
2 changed files with 18 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue