I am using Open RTOS with IAR Embedded workbench for STM32L.
While debugging using OpenRTOS plugging I have noticed the following issue.
I have a LEDTask on my application which I have assigned stack of size 48.
When I debug and examine, as the minimum free stack I noticed 64, which is greater than the stack I have allocated.
If you are truly using OpenRTOS, then please use the OpenRTOS commercial support ticketing system rather than posting OpenRTOS related questions to the FreeRTOS support forum.
@ Jonathan:
Yes I agree with the fact the actual amount of stack allocated is 48* stack width of STM32. It is clearly mentioned in RTOS documentation.
The problem I am having is what is the actual amount of bytes remain free, when it is given that Min Free Stack = 32 in Free RTOS-OpenRTOS plugin for IAR Embedded wrokbench, what is the actual amount of bytes remaining?
Is it 32 or 32 * stack width of STM32?
@ Barry: I am truly using OpenRTOS. Ticket is opened and waiting for the reply.
Plugin is for both OpenRTOS and FreeRTOS. and IAR does not have supporting manual for the plugin.
Thought of putting down some points here so that somebody else facing the problem would find it useful.
The FreeRTOS/OpenRTOS plugin reports the minimum free stack in bytes not in words.
As Barry expected plug in shows the stack high water mark.
There is an OpenRTOS application note for OpenRTOS plug in for IAR