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

@@ -16,6 +16,7 @@
zephyr,code-partition = &code_partition;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &cdc_acm_uart;
zmk,kscan = &kscan0;
zmk,matrix_transform = &default_transform;
zmk,underglow = &led_strip;
@@ -128,6 +129,10 @@ RC(4,0) RC(4,1) RC(4,2) RC(4,5) R
&usbd {
status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
&flash0 {