I am using an ESP32 Xtensa dual core.
I would like my main task running on core 1 (APP) having 100% of this core CPU. I have pinned all my other tasks on CPU 0. But I still lose 10us CPU time every 1ms (probably each tick).
I have tried to configure FreeRTOS with
Code: Select all
#define CONFIG_FREERTOS_UNICORE 1
I have tried to clear DPORT_APP_INTR_STATUS_REG_0_REG to block interrupts on APP core but it seems that it gets set again later on so interrupts still occur. And moreover that seems to cause issues in FreeRTOS (I got it to hang randomly - even reset and download fails).
What would be the right way to avoid any interrupts to occur on core 1?
Giles