refactor: Move the DT based CDC ACM setup.

This commit is contained in:
Peter Johanson
2021-11-05 04:23:50 +00:00
committed by Pete Johanson
parent 2c5d5fde51
commit c5ab8a9444
15 changed files with 72 additions and 11 deletions

View File

@@ -15,6 +15,7 @@
zephyr,code-partition = &code_partition;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &cdc_acm_uart;
};
leds {
@@ -54,6 +55,10 @@
&usbd {
compatible = "nordic,nrf-usbd";
status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};