esp-rs / std-training

Embedded Rust on Espressif training material.
https://esp-rs.github.io/std-training
Apache License 2.0
590 stars 75 forks source link

Building `esp-idf-sys` failed because of uninitialized submodules in esp-idf #235

Closed rangerjo closed 6 months ago

rangerjo commented 6 months ago

Building esp-idf-sys failed because of uninitialized submodules in esp-idf.

Issuing git submodle update --init --recursive in the esp-idf directory at ~/.espressif/esp-idf/v5.1.2/ solved the issue.

However, when following the instructions in the std-training book, this is not mentioned, as this should all be handled under the hood.

Just letting you know!

Vollbrecht commented 6 months ago

Usually that should not be needed. When the esp-idf's repo is pulled and github decided to have bad networking again, problems like this can arise. Still thanks that you mention a potential workaround, and give feedback ;)

Happy Coding

SergioGasquez commented 6 months ago

esp-idf-sys should take care of downloading esp-idf with all the submodules. But sometimes, when not using a reliable network, the esp-idf-sys cloning of the esp-idf repo might fail, which looks like its what happened in your case

rangerjo commented 6 months ago

Ok, thank you for the responses, thats fine with me. Can be considered closed then!