-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
SITSW-5648
-
10.00.00
-
10.01.00
-
No implementation of portASSERT_IF_IN_ISR() API in the portmacro.h file.
This may cause errors like calling taskENTER_CRTICAL/taskEXIT_CRITICAL from within an ISR, which can accidentally re-enable interrupts at an inappropriate time in the ISR.
This is only true on the R5F port where vTaskEnterCritical FreeRTOS function is used from tasks.c. On the other cores, vPortEnterCritical function from port.c is used which does contain an assert for this.