esp-rs / esp-idf-template

A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.
373 stars 43 forks source link

`esp_idf_sys::ledc_timer_config_t` does not have this field error + esp-idf 5.1 needs esp-idf-hal master branch #128

Closed Vollbrecht closed 1 year ago

Vollbrecht commented 1 year ago

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

[patch.crates-io]
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal" }
ivmarkov commented 1 year ago

Fixed with the new incremental release of esp-idf-hal.