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.
已解决! 转到解答。