Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb-device: Endpoint Trait #11

Open
mciantyre opened this issue Mar 13, 2021 · 1 comment
Open

usb-device: Endpoint Trait #11

mciantyre opened this issue Mar 13, 2021 · 1 comment

Comments

@mciantyre
Copy link
Member

The usb-device repo has the endpoint-trait branch which, according to conversations in the project, may represent the next version of usb-device. This issue tracks the imxrt-usbd update for the next version.

@mciantyre
Copy link
Member Author

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:

  • Update remaining examples
  • Figure out of UsbCore::set_stalled and UsbCore::is_stalled are methods we need to implement
  • Once usb-device is released, delete the full_speed module, and rename the usbcore module to full_speed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant