Closed therealchfkch closed 3 months ago
Most probably something messed up you Cargo cache - you could use e.g. cargo-cache
to clean-up or manually clean things in $HOME/.cargo
I did now both clear with cargo-cache and manually, but the outcome is still the same. Can you confirm that you can build the wifi_embassy_dhcp
or wifi_dhcp
example? So i can be sure it is a problem on my end and not the upstream repo.
Yes, it builds fine. We also build all examples in CI so we should always be sure all examples are always buildable
Okay, thanks so far. Maybe i will check it out on another machine then.
Hhm on my Alpine/PMOS phone it builds, seems to be a NixOS or configuration problem on my side then. Should i close it or leave it open for discussion?
I'll close this for now but feel free to add any relevant information so anyone else running into a similar issue will be able to find additional information here. Thanks
As is was cloning the examples in the training from https://github.com/esp-rs/no_std-training I noticed the build fails with the following errors https://pastebin.com/MdC9vMFC.
Short form of some symptomatic error messages here:
I also tried using the
cargo-generate
template, which produces the same output.Board used: ESP32C6 (but i also tried just to build with C3 board configured) Channel: nightly and nightly-2023-11-14 (as it was a preset in the example.
I suspect somehow the build dependency is not properly included, but it is declared here: https://github.com/esp-rs/esp-hal/blob/237804efb602fe22542be36c90c919efc14879fd/esp-wifi/Cargo.toml#L56
Am i doing something wrong while building? I followed all the books and tutorials i found. Everything else works as suspected, except when i include
esp-wifi
in the project. "Normal" projects work on both C6 and C3 boards previously.