How to run these?
For the test_class example you need to clone usb-device, cd to it and run cargo test with the connected hardware running the test_class example. Or first observe dmesg, it shows errors right now.
For the serial example you need to clone serial-threadmark and run cargo run --release /dev/serial/by-id/usb-Fake_company_Serial_port_TEST-if00 1000000 a couple of times. None of the runs should fail.
How to run these? For the test_class example you need to clone usb-device, cd to it and run
cargo test
with the connected hardware running thetest_class
example. Or first observe dmesg, it shows errors right now.For the serial example you need to clone serial-threadmark and run
cargo run --release /dev/serial/by-id/usb-Fake_company_Serial_port_TEST-if00 1000000
a couple of times. None of the runs should fail.