How to check stack size requirement for Task

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?

How to check stack size requirement for Task

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/

How to check stack size requirement for Task

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.