tskNO_AFFINITY missing with esp-idf v5.2.1
torkleyy opened this issue · comments
esp-idf-sys version: 0.34.1
esp-idf: 5.2.1
After upgrading esp-idf to 5.2.1 (from 5.1.3), the tskNO_AFFINITY
symbol is no longer available. Not quite sure why, might be a bindgen issue because the header (freertos/task.h) is in bindings.h
.
Edit: Seems this is already known looking at the code in esp-idf-hal
(https://github.com/esp-rs/esp-idf-hal/blob/603cef87cc013084c5d621d0eab17f95d1d79a02/src/task.rs#L22)
Given the wired cfg i think what is happening here is they have some change on esp-idf master that they carry forward, but they seam to backport the tskNO_AFFINITY in every actual release.
Thanks for the find anyway. Do you want to create a small PR fixing it ?
we have a workaround here though that still is maybe broken esp-rs/esp-idf-hal#417 but closing this issue for now