Interrupt priority with Freertos
Hello,
I have made a project with FreeRTOS 10.0.1.
However there is a problem: when I try to call a function with ‘ISR’ suffix from interrupt service routine the macros configASSERT catches mismatch between priority that ISR has and priority that is permissible.
The project was generated by CubeMX v5.1.0. The LIBRARY_LOWEST_INTERRUPT_PRIORITY is set to 15, the configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY is set to 5. Interrupt that is served by the ISR has priority 8. It’s seems that parameters are correct.
I have excluded the checking by configASSERT and the code works properly now, but I am doubting, is it correctly? Why macros gave an error?
Victor
