You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a TrustZone non-secure FreeRTOS project, if a stack overflow occurs in the PendSV_Handler (which adds up to 40 bytes to the stack), it does not generate an STKOF UsageFault.
In a flat FreeRTOS project on MCUs that support TrustZone, stack overflows of the process stack do not generate an STKOF UsageFault.
Workaround
Allocate at least 40 bytes more for the stack than the maximum stack used by the thread.
The text was updated successfully, but these errors were encountered:
Issue
In a TrustZone non-secure FreeRTOS project, if a stack overflow occurs in the PendSV_Handler (which adds up to 40 bytes to the stack), it does not generate an STKOF UsageFault.
In a flat FreeRTOS project on MCUs that support TrustZone, stack overflows of the process stack do not generate an STKOF UsageFault.
Workaround
Allocate at least 40 bytes more for the stack than the maximum stack used by the thread.
The text was updated successfully, but these errors were encountered: