1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/freertos
Gunar Schorcht 1b041083ab cpu/esp32: change of critical section handling in freertos
Using a mutex for critical section handling with portENTER_CRITICAL and portEXIT_CRITICAL does not work for RIOT, as this function can also be called in the interrupt context. Therefore, the given mutex is not used. Instead, the basic default FreeRTOS mechanism for critical sections is used by simply disabling interrupts. Since context switches for the ESP32 are also based on interrupts, there is no possibility that another thread will enter the critical section once the interrupts are disabled.
2019-08-12 16:51:50 +02:00
..
event_groups.c cpu: add esp32 2018-10-08 12:20:49 +02:00
Makefile cpu: add esp32 2018-10-08 12:20:49 +02:00
portable.c cpu: add esp32 2018-10-08 12:20:49 +02:00
queue.c cpu: add esp32 2018-10-08 12:20:49 +02:00
semphr.c cpu/esp32/freertos/semphr.c::xSemaphoreTakeRecursive() return value fix 2019-03-27 15:54:30 +01:00
task.c cpu/esp32: change of critical section handling in freertos 2019-08-12 16:51:50 +02:00
timers.c cpu: add esp32 2018-10-08 12:20:49 +02:00