zephyr/samples/subsys/usb/console
Marcin Szymczyk e5cbe6a9e7 usb: cdc: Add unique PIDs for each sample
Unique PID is required for each sample in order
to be recognized by host.

When creating a new sample:
- Add USB_PID_<SAMPLE_NAME>_SAMPLE
  in samples/subsys/usb/usb_pid.Kconfig
- Create Kconfig file in your sample's subdirectory, containing:
  config USB_DEVICE_PID
	default USB_PID_<SAMPLE_NAME>_SAMPLE

  source "Kconfig.zephyr"

Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
2019-05-09 08:20:34 -04:00
..
src samples: cdc_acm: Update CDC ACM Device name 2019-04-28 12:22:23 -04:00
arduino_101.overlay
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig usb: cdc: Add unique PIDs for each sample 2019-05-09 08:20:34 -04:00
nrf52840_pca10056.overlay
prj.conf samples: usb: console: Select console device name 2019-03-25 12:03:15 +01:00
quark_se_c1000_devboard.overlay
README.txt
sample.yaml samples: add test identifier 2019-03-29 17:44:11 -04:00
tinytile.overlay

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
...
...