Compare commits

...

6 Commits

Author SHA1 Message Date
Michael Balzer 3877f110f0 Merge branch 'master' into spiram-fix-test 2020-07-14 19:44:50 +02:00
Michael Balzer 209110f41e Merge branch 'master' into spiram-fix-test 2020-06-13 15:10:36 +02:00
Michael Balzer 8b1f36d1e2 Merge branch 'master' into spiram-fix-test 2020-06-13 14:22:29 +02:00
Michael Balzer 3d198cd509 Merge branch 'master' into spiram-fix-test 2019-12-17 21:16:45 +01:00
Michael Balzer 6652269e15 Merge branch 'master' into spiram-fix-test 2019-09-25 18:35:56 +02:00
Michael Balzer 8c015a9fff volatile fix for toolchain -98
see https://github.com/espressif/esp-idf/issues/2892#issuecomment-525697255
2019-09-25 18:29:28 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -135,12 +135,12 @@ typedef struct {
*
* Any value other than portMUX_FREE_VAL, CORE_ID_PRO, CORE_ID_APP indicates corruption
*/
uint32_t owner;
volatile uint32_t owner;
/* count field:
* If mux is unlocked, count should be zero.
* If mux is locked, count is non-zero & represents the number of recursive locks on the mux.
*/
uint32_t count;
volatile uint32_t count;
#ifdef CONFIG_FREERTOS_PORTMUX_DEBUG
const char *lastLockedFn;
int lastLockedLine;
@ -197,7 +197,7 @@ This all assumes that interrupts are either entirely disabled or enabled. Interr
will break this scheme.
Remark: For the ESP32, portENTER_CRITICAL and portENTER_CRITICAL_ISR both alias vTaskEnterCritical, meaning
that either function can be called both from ISR as well as task context. This is not standard FreeRTOS
that either function can be called both from ISR as well as task context. This is not standard FreeRTOS
behaviour; please keep this in mind if you need any compatibility with other FreeRTOS implementations.
*/
void vPortCPUInitializeMutex(portMUX_TYPE *mux);