1.. zephyr:code-sample:: usb-cdc-acm-console
2   :name: Console over USB CDC ACM
3   :relevant-api: usbd_api uart_interface
4
5   Output "Hello World!" to the console over USB CDC ACM.
6
7Overview
8********
9
10This example application shows how to use the CDC ACM UART provided by the new
11experimental USB device stack as a serial backend for the console.
12
13Requirements
14************
15
16This project requires an experimental USB device driver (UDC API).
17
18Building and Running
19********************
20
21This sample can be built for multiple boards, in this example we will build it
22for the reel_board board:
23
24.. zephyr-app-commands::
25   :zephyr-app: samples/subsys/usb/console
26   :board: reel_board
27   :goals: flash
28   :compact:
29
30Plug the board into a host device, for sample, a PC running Linux OS.
31The board will be detected as a CDC ACM serial device. To see the console output
32from the sample, use a command similar to :command:`minicom -D /dev/ttyACM1`.
33
34.. code-block:: console
35
36   Hello World! arm
37   Hello World! arm
38   Hello World! arm
39   Hello World! arm
40