zephyr/samples/subsys/usb/console
Andrei Emeltchenko df2bb46497 usb: console: Initialize USB console after USB Device stack
It does make sense to initialize USB console after USB Device stack.
Note that the value is selected only if we specify USB_UART_CONSOLE
in prj.conf, not in menuconfig afterwards.

Fixes #16518

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2019-06-05 11:44:17 +02:00
..
src samples: cdc_acm: Update CDC ACM Device name 2019-04-28 12:22:23 -04:00
arduino_101.overlay boards: dts: define default console only 2018-11-05 12:07:30 -06:00
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 samples: usb: Fixes usb/console sample for nrf52840 2018-11-21 06:19:32 -06:00
prj.conf usb: console: Initialize USB console after USB Device stack 2019-06-05 11:44:17 +02:00
quark_se_c1000_devboard.overlay boards: dts: define default console only 2018-11-05 12:07:30 -06:00
README.txt doc: fix wiki board references in non .rst files 2017-07-11 12:45:35 -05:00
sample.yaml samples: add test identifier 2019-03-29 17:44:11 -04:00
tinytile.overlay boards: dts: define default console only 2018-11-05 12:07:30 -06:00

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