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 rt_CMSIS.c in svcThreadCreate(...) , rt_init_context(...) is called before a proper value is given to task_context->task_id (which is done one line after).
But rt_init_context(...) in rt_Task.c calls rt_init_stack(...) in HAL_CM.c with the following last two lines:
if (p_TCB->task_id != 0x01)
p_TCB->stack[0] = MAGIC_WORD;
That could cause a mismatch in some cases in rt_stk_check (...) in rt_System.c because
os_tsk.run->stack[0] != MAGIC_WORD