Skip to content

Files

Latest commit

 

History

History

cdc-acm-console

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

CDC-ACM Console Snippet (cdc-acm-console)

west build -S cdc-acm-console [...]

Overview

This snippet redirects serial console output to a CDC ACM UART. The USB device which should be used is configured using :ref:`devicetree`.

Requirements

Hardware support for:

A devicetree node with node label zephyr_udc0 that points to an enabled USB device node with driver support. This should look roughly like this in :ref:`your devicetree <get-devicetree-outputs>`:

zephyr_udc0: usbd@deadbeef {
     compatible = "vnd,usb-device";
     /* ... */
};