-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unable to cargo run on hardware-check #262
Comments
You mention that you have experience with C IDF framework. Does your current environment have a IDF version activated? In the training we setup a cloned version of ESP_IDF inside the .espressif dir according to the version that is set via the ESP_IDF_VERSION env variable and also try to populate the correct versioned compiler for that ESP-IDF version according the recommendation. Furthermore can you go into |
Thanks for your quick answer.
For the command you asked me to run:
|
can you please try to add the following in the Test only that change with If that was not fruitful can you also test if there are changes when you change the |
Thank you very much, it is working fine with |
We should have had it included when we last updated the training but forgot. This is a env variable that is used by the cc-rs crate. The cc-rs crate is the thing that gets called from our embuild build-system to run the xtensa/riscv-gcc compiler. Since you know that esp-idf is using cmake, we also actually are using the cmake crate to interface with it, and it internally is going through cc-rs to call the compiler. So we don't directly control the calling to the cc-rs crate. Since we dont control it directly, we do that with that env var. We instruct it to only use the flags that we explicitly want to use and don't pick something up from the systems default. If you see in the esp-rs/esp-idf-template we provide it in the .cargo/config.toml by default. |
i added it to all .configs in #263 so hopefully that should not be a problem anymore. |
Hello,
My setup is working well with esp-idf when I am developping in C, and I've followed every step in the guide for Rust.
But, when running
cargo run
, I have the following result:Any idea on how I can fix this ?
The text was updated successfully, but these errors were encountered: