feat(studio): Add studio-rpc-usb-uart snippet.
* Add an easy snippet for enabling USB UART added to the `zephyr_udc0` standard node.
This commit is contained in:
parent
feda96eb40
commit
b1bcc3e418
3 changed files with 34 additions and 0 deletions
18
app/snippets/studio-rpc-usb-uart/studio-rpc-usb-uart.overlay
Normal file
18
app/snippets/studio-rpc-usb-uart/studio-rpc-usb-uart.overlay
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2024 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zmk,studio-rpc-uart = &snippet_studio_rpc_usb_uart;
|
||||
};
|
||||
};
|
||||
|
||||
&zephyr_udc0 {
|
||||
snippet_studio_rpc_usb_uart: snippet_studio_rpc_usb_uart {
|
||||
compatible = "zephyr,cdc-acm-uart";
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue