-
Notifications
You must be signed in to change notification settings - Fork 83
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
hardware-check build fails #150
Comments
Hi! Just tried with a fresh clone of the repo on a macOS m1 and had no issue with the |
I used an older repo and pulled the new changes. I just tried it with a new repo as well with the same result. |
Having ESP-IDF environment variables can interfere with |
Error Message with no ESP-IDF environment variablesCompiling esp-idf-hal v0.38.1 Caused by: --- stderr [notice] A new release of pip available: 22.3.1 -> 23.0.1 Caused by: DescriptionSo, I disabled all the environment variables and restarted my pc. I ran |
I found this issue esp-idf/issues/9837 which recommended deleting ~/.espressif I did that and it worked! The project builds now. Error mesageRunning error: Found argument '--release' which wasn't expected, or isn't valid in this context USAGE: For more information try --help DescriptionI'm a bit confused why it says that a new version of espflash is available. On crates.io v1.7.0 is the newest version. |
|
YES! I had to use the command |
I am currently working on updating the whole training to use a more recent version of the nightly toolchain and of the crates that are used, you can see the changes here: https://github.com/SergioGasquez/espressif-trainings/tree/feature/crates-update I'll close the issue, thanks for your reports! |
Error Message
error[E0063]: missing fields
enable_so_linger
andlinger_timeout
in initializer ofhttpd_config
--> C:\Users\jan.wendler.cargo\registry\src\github.aaakk.us.kg-1ecc6299db9ec823\esp-idf-svc-0.41.4\src\http\server.rs:68:14
|
68 | Self(httpd_config_t {
| ^^^^^^^^^^^^^^ missing
enable_so_linger
andlinger_timeout
error[E0063]: missing fields
enable_so_linger
andlinger_timeout
in initializer ofhttpd_config
--> C:\Users\jan.wendler.cargo\registry\src\github.aaakk.us.kg-1ecc6299db9ec823\esp-idf-svc-0.41.4\src\httpd.rs:394:9
|
394 | esp_idf_sys::httpd_config_t {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing
enable_so_linger
andlinger_timeout
error[E0308]: mismatched types
--> C:\Users\jan.wendler.cargo\registry\src\github.aaakk.us.kg-1ecc6299db9ec823\esp-idf-svc-0.41.4\src\ping.rs:37:18
|
37 | tos: conf.tos,
| ^^^^^^^^ expected
i32
, foundu8
Some errors have detailed explanations: E0063, E0308.
For more information about an error, try
rustc --explain E0063
.error: could not compile
esp-idf-svc
due to 3 previous errorsDescription
I tried to run the hardware check with the newest commit 72a04ff
However the build fails in the very end. When searching for this problem online I found an issue discussing this problem on the esp-idf-svc repo. esp-idf-svc/issues/143 and esp-idf-svc/issues/151. Following this I tried to change the ESP-IDF version in the .cargo file to 4.4.2 but that did not solve the problem and the output is still the same.
I also tried to change the version to 4.4.3, which is the ESP-IDF version I have installed for C programming, but the result is the same.
The text was updated successfully, but these errors were encountered: