refactor: modernize USB configuration

This commit is contained in:
honorless 2024-11-17 15:35:35 -05:00
parent 96b95ad919
commit d81edeb623
No known key found for this signature in database
GPG Key ID: 1B48A311ABE8DA4D
2 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,10 @@
include:
- board: corne_left
shield: nice_view
#snippet: zmk-usb-logging # Uncomment to log over USB.
- board: corne_right
shield: nice_view
#snippet: zmk-usb-logging
- board: corne_left
shield: settings_reset
#snippet: zmk-usb-logging

View File

@ -19,7 +19,6 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zmk,kscan = &kscan0;
zephyr,console = &cdc_acm_uart;
zmk,underglow = &led_strip;
zmk,matrix-transform = &default_transform;
zmk,backlight = &backlight;
@ -68,11 +67,8 @@
status = "okay";
};
&usbd {
zephyr_udc0: &usbd {
status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
};
};
&flash0 {