Max stack size

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
nikhil
Posts: 40
Joined: Thu Jan 03, 2013 8:46 pm

Max stack size

Post by nikhil »

Hello

What is the max stack size that can be allocated to a static thread? I am using stm32f405 mcu.

Is there any way to check how much stack is being used by a thread in runtime except for chibios debug plug in?


--
Nikhil
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Max stack size

Post by Giovanni »

Hi,

The limit is the available RAM. The used area can be measured using a debugger and counting the filler values in the stack.

Giovanni
nikhil
Posts: 40
Joined: Thu Jan 03, 2013 8:46 pm

Re: Max stack size

Post by nikhil »

Thanks.
Post Reply