-
Notifications
You must be signed in to change notification settings - Fork 89
Upgrade esp_idf_svc to 0.48.1 #243
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
Upgrade esp_idf_svc to 0.48.1 #243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add the cfg.toml.example files again so user have a template
Also since you seam to affected by the current bug where you need to set the CC env variable( you used it in your PR), it would be super helpful if you can try out the current https://github.com/rust-lang/cc-rs git master version. Today they merged a potential fix and it would be nice if that is working, or if we do need to change anything. Its not directly related but we need the feedback ;D You can test the current cc branch by adding [patch.crates-io]
cc = { git = "https://github.com/rust-lang/cc-rs" } and running |
@Vollbrecht I will try it. Strangely enough, I am still getting this error when compiling non-rust PIO projects?? |
@Vollbrecht I am afraid the new cc version fails unspectacularly with
|
For the time being I've added back the examples. PR should be in a mergeable state now. |
intro/http-server/Cargo.toml
Outdated
@@ -18,7 +18,7 @@ opt-level = "z" | |||
[dependencies] | |||
anyhow = "=1.0.75" | |||
embedded-svc = "=0.26.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
embedded-svc also needs updating in every place, thats why the CI fails to run this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you have a look at the 3 failed CI builds. It boils down to a) also updating embedded-svc b) For the http client you missed a remove example file c) some minor clippy stuff
@Vollbrecht Ah. Sorry. It's late. I'll fix it. |
@Vollbrecht would you have preferred the dead code in http-server to be left included? I could've toggled the clippy flag instead of removing it. |
@Vollbrecht Seems like mqtt has had breaking changes in embedded svc 0.27.0... I will have to look at this again tomorrow. |
@Vollbrecht I've changed the mqtt examples to fit into the new |
@Vollbrecht ready to merge. |
I tried to check my new ESP32-C3-Rust-Kit with hardware-check sub-project - just to find out that it does not work without fixing
As a beginner I have no clue how to force older versions of crates (despite fixing Or is #253 the show stopper (indeed no blinking Led ...)? |
@prismv we are close to a new release of esp-idf-svc. If you want to use the latest fixes and working on a standalone project as described in the book mentioning the template, you can simply do the following. Add this to your [patch.crates-io]
embuild = { git = "https://github.com/esp-rs/embuild" }
esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc" }
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal" }
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys" }
embedded-svc = { git = "https://github.com/esp-rs/embedded-svc" } than running cargo clean + cargo update+ cargo build. This way you are using the latest git master version. And you can remove them in the couple next days when we have a new release up. The book needs updating after we pushed the new release but one thing at a time, and in general most things should be pretty much the same. |
|
Closed in favor of #257 |
No description provided.