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

Closed
torkleyy opened this issue Mar 20, 2024 · 2 comments
Closed

tskNO_AFFINITY missing with esp-idf v5.2.1 #295

torkleyy opened this issue Mar 20, 2024 · 2 comments

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 ?

@Vollbrecht
Copy link
Collaborator

we have a workaround here though that still is maybe broken esp-rs/esp-idf-hal#417 but closing this issue for now

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants