-
Notifications
You must be signed in to change notification settings - Fork 43
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
Link failure (Rust 1.54) esp32s2 #3
Comments
Yep. Caused by the removal of my shameful "redirects" of I've "fixed it" a couple of hours ago, but the truth is, we need What you need to do:
|
Hmmm doing all that hasn't helped unfortunately. I forced installed pio from git: Cargo.lock in rust compiler: [[package]]
name = "libc"
version = "0.2.98"
source = "git+https://github.com/ivmarkov/libc.git#85210e6b2e226216431f80f5a0b3ebb329f98adb"
dependencies = [
"rustc-std-workspace-core",
] rust-esp32-std-hello git:(main) ✗ cargo update
Updating git repository `https://github.com/ivmarkov/libc.git`
Updating crates.io index
Updating git repository `https://github.com/ivmarkov/ili9341-rs`
Updating esp-idf-svc v0.16.5 -> v0.16.6
Updating esp-idf-sys v0.16.3 -> v0.16.4 Also just for transparency, some env info:
I can't seem to capture the linker output from https://github.com/ivmarkov/cargo-pio/blob/01c8113428708d97906f60d4046a3b0421c3cecd/src/link.rs#L105-L112 All I see in the terminal is the status line: |
I'm really sorry - I've actually forgotten to push and re-publish cargo-pio! (These debug statements needed |
Guess, I was sleeping yesterday. Also |
Haha no worries! By updating pio link, it showed me pio wasn't building the ULP loader & runner - after that a quickly figured out my cargo was too old. I now have it running on my esp32s2 here! Thanks for the help! |
The ULP thing has two annoyances:
|
Commenting out the launching of the ULP app and esp32s2 goes into a deep sleep and stays there for about a minute - it must be ulp related. I added some code to print the sleep wake up reason and I got the following:
Looking at the IDF source:
We can in fact see the wake up cause is However like, I put my multimeter on pin 5 and can see it blinking too - very strange behavior. |
Building esp std hello from this tree: https://github.com/ivmarkov/rust-esp32-std-hello/tree/07b7fb9a8f11b21c709c5277377f8f03439e27f1, the only modifications being the SSID, Pass & target in config.toml.
PIO toolchain verison:
error status 1 doesn't really tell us a lot unfortunately. Any ideas?
The text was updated successfully, but these errors were encountered: