I am using IAR EWARM 6.30.6 with the FreeRTOS and OpenRTOS plugin (v184.108.40.206) and developing on a TI Stellaris EK-LM3S9D92 board. How do I get the stack checking to turn on. Right now the “On” and “Off” menu items are dimmed out. Also, in the Tasks window’s “Min Free Stack”, every task is “Off”. In my code I have:
#define configCHECK_FOR_STACK_OVERFLOW 2
I also noticed that the “Top of Stack” is not really the top of the stack for my setup because when single stepping, I see the SP go higher when popping the stack than what is listed in the column “Top of Stack”.
Thanks in advance!