/usb-console-basic

Sample of USB UART output in a ZephyrRTOS application

Primary LanguageCApache License 2.0Apache-2.0

# Zephyr USB UART Console

### Description:

A simple example of console output to USB UART.

Usage
-----
Plug the board into a host device, for example, a PC running Linux.
The board will be detected as a CDC_ACM serial device. To see the console output
from the zephyr board, use a command similar to `minicom -D /dev/ttyACM0`.
You may need to stop modemmanager via `sudo stop modemmanager`, if it is
trying to access the device in the background.

--------------------------------------------------------------------------------

### Building and Running Project:

```bash
$ west build -b swan_r5
```

Sample Output:

```bash
Hello USB Console...
Hello USB Console...
Hello USB Console...
Hello USB Console...
...
...
```