This website requires JavaScript.
Explore
Help
Register
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
2024-10-05 20:47:46 -04:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
esp-idf
/
components
/
soc
/
include
History
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
..
soc
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