1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/usbus_cdc_ecm
Juan Carrano 8b88666f3d tests,examples/usb: PID, VID warning only when building.
The warning issued when the PID and VID are set to the default values should
not be printed on `make clean` and other targets, only with `make all` and it
should be a proper target.

To do: replace shell echos with proper $(warning ..) calls.
2019-09-02 12:20:32 +02:00
..
main.c usbus_cdc_ecm: add test application 2019-06-14 17:15:19 +02:00
Makefile tests,examples/usb: PID, VID warning only when building. 2019-09-02 12:20:32 +02:00
README.md usbus_cdc_ecm: add test application 2019-06-14 17:15:19 +02:00

Expected result

Use the network related shell commands to verify the network link between the board under test and the host computer. Ping to the link local address from and to the host computer must work.

On the host computer, using tools such as ethtool must show the USB CDC ECM interface as link dectected:

# ethtool enp0s20u9u4
Settings for enp0s20u9u4:
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

Background

This test application can be used to verify the USBUS CDC ECM implementation. Assuming drivers available, the board under test should show up on the host computer as an USB network interface. Drivers are available for both Linux and macOS.