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
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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.