kopia lustrzana https://github.com/espressif/esp-idf
be839733ed
When adjusting the interrupt level treshold on P4/C6 during a critical section exit it would take a few cycles before this is taken into account by the CPU. This meant that under some circumstances, e.g. 02, we could do yield()->vPortExitCritical()->vPortEnterCritical() without getting rescheduled. This causes issues for freertos as it assumes the task will not continue into the vPortEnterCritical before the scheduler has schedulded it again. This meant that e.g. xTaskNotifyWait would yield, but then immeditaly continue as if it was already notified. |
||
---|---|---|
.. | ||
esp_private | ||
riscv |