1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/sys/usbus_cdc_acm_stdio
2023-05-10 12:02:58 +02:00
..
main.c tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile.ci tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
README.md tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00

Expected result

A second USB serial console (ttyACMx) appears when plugging the USB peripheral into a host computer. When opening the serial device it should show the RIOT shell. Basic command interaction must work.

The test should work on Linux, MacOS and Windows. Putty is known to work on Windows.

Changing the baud rate, bit mode and parity mode is accepted by the device and reflected back. However, changing these should not affect shell operation.

Note that when testing with this firmware, the regular USB serial console from the attached debugger is not functional.

Background

This test application can be used to verify the USBUS CDC ACM implementation. Assuming drivers available, the board under test should show up on the host computer as an USB CDC Abstract Control Management device (ttyACMx on Linux). Drivers are available for Linux, macOS and Windows.