-
Notifications
You must be signed in to change notification settings - Fork 105
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: Add support for external ULPI PHYs #184
Conversation
This looks great. I also tested your example (https://github.com/mattico/test-ulpi-usb) on a STM32H747I-DISCO board and it works fine, only the DIR and NXT pins are different. Thanks for adding the clippy directive, this must have been upgraded to an error recently. Potentially the USB API could be reworked slightly, so instead of filling in a structure, the user would call a constructor method like Feel free to add your name to Cargo.toml/authors if you like! |
Do you need the |
Good to hear! Had a lot of trouble getting this to work, then the result was fairly simple. Always a bit worried I missed something.
You know, it was probably upgraded to an error due to LLVM removing infinite loops with no bodies. (rust-lang/rust#28728) Maybe we should use
Yeah, like the
Good catch. |
This is a better fix, thanks! bors r+ |
Tested with an STM32H743BIT6 and a USB3300-EZK on a custom board.