zephyr/samples/subsys/usb/console
Iván Sánchez Ortega eaaab7771b samples: usb: Make each sample have its own USB product string
Each USB sample, when compiled, will provide a different
USB product string. A "nice to have" feature when trying
out the USB samples (they will show up differently in
`lsusb` or `dmesg`), and also illustrates how to set up
custom USB constants in the config files.

Requires #6589.

Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2018-03-22 12:41:40 +01:00
..
src
CMakeLists.txt
README.txt
prj.conf samples: usb: Make each sample have its own USB product string 2018-03-22 12:41:40 +01:00
sample.yaml

README.txt

Title: USB Console Hello World

Description:

A simple Hello World example, with console output coming to USB UART. Primarily
intended to show the required config options.

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:

Refer to https://www.zephyrproject.org/doc/boards/x86/arduino_101/doc/board.html
for details on flashing the image into an Arduno 101.


Sample Output:

Hello World! x86
Hello World! x86
Hello World! x86
Hello World! x86
...
...