This website requires JavaScript.
Explore
Help
Sign In
alex
/
esp-idf
Watch
1
Star
0
Fork
0
You've already forked esp-idf
mirror of
https://github.com/espressif/esp-idf.git
synced
2025-11-09 15:39:43 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
ae728d66c8808baa475908fbfa68310d0df5eebe
esp-idf
/
components
/
freertos
/
portmux_impl.h
Jeroen Domburg
70ab924dbb
Especially when internal memory fills up, some FreeRTOS structures (queues etc) get allocated in psram. These structures also contain a spinlock, which needs an atomic-compare-swap operation to work. The psram hardware, however, does not support this operation. As a workaround, this patch detects these spinlocks and will, instead of S32C1I, use equivalent C-code to simulate the behaviour, with an (internal) mux for atomicity.
2018-02-02 17:11:06 +08:00
4.5 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink