Hello everyone,
I am working on LM3s5R31 controller. Embos version is 3.82K and IAR version is 6.3.
I was finding out the stack size for tasks. EmbOS plugin shows used stack size but one thing I could not get. During idle time (normal working), used stack size for "Display Task" was 440 bytes. When controller does other operation, stack size increases to 560 bytes. I understand this thing as some extra routines are added. but when controller comes back in idle position (previous state), stack size does not come to 440 bytes and it remains at 560 bytes.
Can anybody explain me why stack size is not coming to previous size?
For stack size, I read the documents provided in embOS RTOS folder. But I want to understand If user function added, then how stack size increases?
Regards,
Harsh
I am working on LM3s5R31 controller. Embos version is 3.82K and IAR version is 6.3.
I was finding out the stack size for tasks. EmbOS plugin shows used stack size but one thing I could not get. During idle time (normal working), used stack size for "Display Task" was 440 bytes. When controller does other operation, stack size increases to 560 bytes. I understand this thing as some extra routines are added. but when controller comes back in idle position (previous state), stack size does not come to 440 bytes and it remains at 560 bytes.
Can anybody explain me why stack size is not coming to previous size?
For stack size, I read the documents provided in embOS RTOS folder. But I want to understand If user function added, then how stack size increases?
Regards,
Harsh