-
Notifications
You must be signed in to change notification settings - Fork 806
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
Found waker not created by the Embassy executor. embassy_time::Timer
only works with the Embassy executor.
#2100
Comments
I have also encountered this issue. It is fixed if you downgrade to a prior version of Rust nightly. Seems like something changed in the last few days has caused Embassy to crash on start on the RP2040. Went and narrowed it down. The last working nightly was on the 18th. Should be able to add in the below file to your project root and it should now compile and run correctly.
|
This was reported to rustc as rust-lang/rust#117047 |
Several alternative ways to fix, in file
Also you can just disable cross-crate inlining with |
Fix #2100 - function address comparison
fixed in #2112 |
I don't know what I did but my Pico not just crashes with this error any time I try to use a Timer or Ticker, this was working fine this afternoon but stopped after a cargo update.
I have made a minimal example to recreate it:
cargo.toml
main.rs
also have memory.x and build.rs from the pi examples
here is the full error message when I run this using a Pico probe:
The text was updated successfully, but these errors were encountered: