zephyr/samples/subsys/usb/cdc_acm_bridge/app.overlay
Fabio Baltieri 6d8eb270fc samples: usb: add a cdc_acm_bridge sample
Add a sample for the UART bridge driver using a USB CDC-ACM UART and a
normal one. Demonstrates how to do settings propagation (bitrate
changes) and multiple instances.

The sample needs to know what specific UART are available on each board,
so unfortunately any additional board needs its own overlay.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-05-14 20:11:00 +01:00

25 lines
353 B
Plaintext

/*
* Copyright 2025 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
uart-bridge0 {
compatible = "zephyr,uart-bridge";
peers = <&cdc_acm_uart0 &arduino_serial>;
};
};
&arduino_serial {
status = "okay";
};
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "Zephyr USB CDC-ACM";
};
};