When I create MFS or RTCS from within a task, does the stack for RTCS or MFS come out of the stack allocated for that task? Or does it get its own chunk of stack?
Also, how do I know how much stack I have to allocate for all my tasks? It would seem by the linker file that for the 52259 I would have 64K of stack to work with
ORIGIN = 0x20000000, LENGTH = 0x00010000 # SRAM - RW data
, but it seems like if I start allocating more than about 20K to various tasks, my application will fail to boot.
Solved! Go to Solution.
Hi Nathan,
Each task has its own stack that gets allocate from the heap. Even if a user task creates the RTCS or MFS.
Regards,
David
Hi Nathan,
Each task has its own stack that gets allocate from the heap. Even if a user task creates the RTCS or MFS.
Regards,
David
Thank you!