We already fixed it inside esp-idf-hal but the fix is not release. So if you are generating a template with esp-idf 5.1 please use the esp-idf-hal master branch till the fix is release. Sorry for the inconvenience and thanks for cooperation :smiley_cat:
Edit: to build against the master branch you can simply add the following into your Cargo.toml
We already fixed it inside esp-idf-hal but the fix is not release. So if you are generating a template with esp-idf 5.1 please use the esp-idf-hal master branch till the fix is release. Sorry for the inconvenience and thanks for cooperation :smiley_cat:
Edit: to build against the master branch you can simply add the following into your Cargo.toml