Reputation: 1818
I am working with a legacy code. So I am not sure about where to define the start and stop address for stack. The environment specifications are.
OS : Free RTOS Compiler : Gcc compiler Processor : STM32
This is to understand the start and stop address of stack to experiment on the maximum stack range used on a particular run.
Upvotes: 3
Views: 396
Reputation: 93556
In FreeRTOS, you don't provide the stack explicitly, you merely specify the requred size and xTaskCreate()
dynamically allocates the stack for you.
FreeRTOS does have some support for stack usage and overflow checking.
Upvotes: 1