Open mciantyre opened 3 years ago
I pushed an endpoint-trait
branch that contains the prototype driver. It exists in parallel with the 0.2 usb-device
driver. You'll find the new driver under the usbcore
module. Note that the endpoint_trait
"crate" is actually usb-device
on the endpoint-trait
branch; see the package manifest for details.
The branch has an updated test_class
example for the Teensy 4. The example continues to pass the usb-device
test suite:
git clone https://github.com/mvirkkunen/usb-device.git --branch endpoint-trait && cd usb-device
cargo test --tests
Next steps:
UsbCore::set_stalled
and UsbCore::is_stalled
are methods we need to implementusb-device
is released, delete the full_speed
module, and rename the usbcore
module to full_speed
The
usb-device
repo has theendpoint-trait
branch which, according to conversations in the project, may represent the next version ofusb-device
. This issue tracks theimxrt-usbd
update for the next version.