Recommended value for process stack size when using CTL with Cortex M3
Everything is in the title. Release notes mention one needs to have some process stack size. The help file mentions:
When a task is not executing, the register context is saved on the task's stack [..] with the stack_pointer member of the task structure pointing to the R4 entry which requires 16 words of memory.
Does this mean one needs 16 bytes per CTL thread ? it is really unclear to me how to calculate what to set "process stack size" to... I have it at 1K and everything works, but I am just wondering if 100 bytes would work as well for my 5 tasks...
Thanks for any help
Please sign in to leave a comment.
Comments
1 comment