Scheduler priority in higher then MAX_SYSCALL

PendSV and SysTick interrupt priorities are different to the FreeRTOS default if really configured this way.
FreeRTOS uses configKERNEL_INTERRUPT_PRIORITY for them, which is the lowest interrupt priority. I can’t imagine why Renesas should have changed that.
There are very good reasons setting them to the lowest interrupt priority e.g.

configKERNEL_INTERRUPT_PRIORITY is set to the lowest urgency interrupt level in the system. So this means the interrupts of the kernel (SysTick and context switches) run with the lowest possible urgency. This makes sense as the kernel should not block or interrupt the other interrupts in the system.

1 Like