-
Notifications
You must be signed in to change notification settings - Fork 21
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
[BUG] Trait bound not satisfied for usbd-hid-macros crate #39
Comments
Okay found the upstream issue: usbd-hid issue 73 Basically it's an issue with embassy and dependencies user older versions of the crate when the 0.8 version is the only one that really works right now. Using the nightly-2024-06-12 tool chain seems to still run into the same issue as of right now. |
Had some time to mess with it again today, managed to find a workaround. Using the examples for the ch32v203 and the nightly tool-chain from 2024-06-11 I managed to get it to build and compile. I had to first edit the //---SNIP---
#embassy-usb = { version = "0.1.0" }
//---SNIP---
[patch.crates-io]
embassy-executor-macros = { git = 'https://github.com/embassy-rs/embassy'}
//---SNIP--- Final thing I noticed is that some examples required me to add a line for a feature dealing with implementing traits for associated types. #![feature(impl_trait_in_assoc_type)] After adding that line I can compile and flash the blinky, adc and the uart(serial) programs without any issues. |
I'm planing to change embassy-related deps to git version. |
Worth noting theres a |
@twitchyliquid64 Nice, that sounds like a great temporary solution as well. |
Ran into an issues with building and testing the examples for the ch32v203. This is what I'm getting when I try to run
cargo build --bin blinky
.It's coming from the GroupSpec Impl in the USBD HID macros crate.
The text was updated successfully, but these errors were encountered: