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
timer_spinlock_take/give IRAM_ATTR (IDFGH-5038) #6824
Comments
The v4.3 branch also needs this fix. |
Thanks for pointing out, we will back port this fix to release/4.3, thanks. |
It should go into 4.2 as well imho. Thx. |
Fix will be backported up to and including v4.1 |
@ESP-Marius ETA on the publishing of these fixes? |
Hi @KaeLL we deprecated because nowhere is using that spinlock_get/set in esp-idf code base. Exposing spinlock_get/set is not a good design, at least we don't want the user space to touch a spinlock used by the driver itself directly. So we have introduced another callback way.
Thanks for this information, yes this is an issue and we're fixing now, will be backported to release/v4.1. The issue is, we shound't reenable the alarm interrupt in |
Environment
git describe --tags
to find it): v4.3-dev-3175-g9a2d25191xtensa-esp32-elf-gcc --version
to find it): (crosstool-NG esp-2020r3) 8.4.0Problem Description
timer_spinlock_take has no IRAM_ATTR attribute but according to docs, it should be able to be called from an isr that may be placed to IRAM.
Expected Behavior
My understanding is that these two functions shall be in iram.
Thanks
Viktor
The text was updated successfully, but these errors were encountered: