How to check stack size requirement for Task

ephobb wrote on Saturday, January 16, 2016:

Hi,
i want to know that, how to check minimal stack size requirement for task?
because sometimes my task get stack because of Stack size requirement.
How to calculate the minimal stack size reuirement?

xz8987f wrote on Saturday, January 16, 2016:

That depends on the toolchain you are using. I’m using a static stack analysis tool for GNU: http://mcuoneclipse.com/2015/08/21/gnu-static-stack-usage-analysis/

rtel wrote on Saturday, January 16, 2016:

Please see the FAQ on the topic: http://www.freertos.org/FAQMem.html#StackSize - to which I have just added a link to Erich’s blog.