michaeln32 wrote on Wednesday, January 10, 2018:
If i use the follow:
For task1 the freertos creat TCB and stack.
Is the stack include within the TCB or the stack is outside the TCB ?
Is the TCB and stack are memory allocated together or separately ?
Thank you FreeRTOS
rtel wrote on Wednesday, January 10, 2018:
The TCB and stack are allocated separately. You can see this easily
enough if you use the debugger to step through the xTaskCreate()
function, or just look at the source code.