Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tskNO_AFFINITY missing with esp-idf v5.2.1 #295

Open
torkleyy opened this issue Mar 20, 2024 · 1 comment
Open

tskNO_AFFINITY missing with esp-idf v5.2.1 #295

torkleyy opened this issue Mar 20, 2024 · 1 comment

Comments

@torkleyy
Copy link
Contributor

torkleyy commented Mar 20, 2024

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)

@Vollbrecht
Copy link
Collaborator

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants