I am wondering how to correctly size stacks of an application with several tasks running. Is there any relation in between the main stack and the task stacks? How much main stack (defined in the linker) do the tasks use?
Finally, is there any static analysis tool which calculates the worst case stack depth required by the application?
Thanks in advance.