tpycke wrote on Saturday, June 13, 2009:
Hi,
To make sure everything is OK during development, I use the stack overflow hook. However, my Idle task stack is overflowing.
Code:
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTaskName )
{
uart1_puts("Stack overflow! ");
uart1_puts(pcTaskName);
uart1_puts("\n\r");
}
Result:
06/13/2009 21:38:52.078 --> Stack overflow! IDLE
06/13/2009 21:38:52.093 --> Stack overflow! IDLE
06/13/2009 21:38:52.093 --> Stack overflow! IDLE
06/13/2009 21:38:52.093 --> Stack overflow! IDLE
06/13/2009 21:38:52.125 --> Stack overflow! IDLE
06/13/2009 21:38:52.125 --> Stack overflow! IDLE
06/13/2009 21:38:52.125 --> Stack overflow! IDLE
06/13/2009 21:38:52.125 --> Stack overflow! IDLE
06/13/2009 21:38:52.125 --> Stack overflow! IDLE
06/13/2009 21:38:52.125 --> Stack overflow! IDLE
06/13/2009 21:38:52.140 --> Stack overflow! IDLE
06/13/2009 21:38:52.140 --> Stack overflow! IDLE
…
(doesn’t seem to affect the normalo operation)
Anybody any idea why that is?
Thanks,
Tom