This website requires JavaScript.
Explore
Help
Sign In
espressif
/
esp-idf
Watch
1
Star
0
Fork
1
You've already forked esp-idf
mirror of
https://github.com/espressif/esp-idf.git
synced
2025-12-04 08:09:56 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
d3938c8a6659ff179968d26404512b771a01b8a3
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