You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS D:\intro\http-client> cp .\examples\https_client.rs .\src\main.rs
PS D:\intro\http-client> cargo espflash --release --monitor COM5
New version of cargo-espflash is available: v2.0.0-rc.1
Serial port: COM5
Connecting...
Compiling http-client v0.1.0 (D:\intro\http-client)
error: could not compile `http-client` due to 2 previous errors
error[E0425]: cannot find value `esp_crt_bundle_attach` in crate `esp_idf_sys`
--> src\main.rs:40:46
|
40 | crt_bundle_attach: Some(esp_idf_sys::esp_crt_bundle_attach),
| ^^^^^^^^^^^^^^^^^^^^^ not found in `esp_idf_sys`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0425`.
PS D:\intro\http-client>
The text was updated successfully, but these errors were encountered:
Libraries got outdated pretty quickly, I guess esp-rs is still WIP. I was able to get through the intro part by bumping some libraries to the latest version:
esp-idf-sys = { version = "0.31.11", features = ["binstart"] }
esp-idf-svc = { version="0.42.5", features = ["experimental", "alloc"] }
This was solved by updating the sdkconfigs.default and a cargo clean, see #142 for more information. Now, updating sdkconfigs.default is not required anymore, and it should work out of the box!
I'll close the issue, if it still persists, feel free to reopen it.
The text was updated successfully, but these errors were encountered: