Part Number: TM4C1294NCPDT
Tool/software: Code Composer Studio
Hello,
i have an TM4C1294NCPDT µC with TI-RTOS running on it with an heartbeat Task which is toggling an LED.
void heartBeatFxn(void)
{
while (1)
{
Task_sleep(1000);
GPIO_toggle(OUTPUT1);
}
}
I let the program run for 16 hours and i looked at the Task stack peak. At start it used 252 bytes from 512 bytes. After 3 hours it grew to 264 and after 11 hours to 288.
I do not understand this behaviour. My expectations with a simple task like that was that the task stack peak would be constant. Is this something to worry about or is this a normal behaviour?
Thanks in advance!
Best regards
Akos