This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
trim task call stack size #33
Milestone
Comments
define INCLUDE_uxTaskGetStackHighWaterMark This will enable this: http://www.freertos.org/uxTaskGetStackHighWaterMark.html Which allows us to see how much of the task stack has been used. |
|
adam-at-epsilon
added a commit
that referenced
this issue
Sep 28, 2015
adam-at-epsilon
added a commit
that referenced
this issue
Oct 7, 2015
with the latest check in task-status prints lowest historical watermarks to console. Use this to trim stack sizes. |
our current stack sizes are, at idle (rightmost numbers, alignment doesn't seem to work ...): The number meas the lowest number of bytes ever available in the stack so far.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Task call stack size is supplied as a parameter whenever a task is created.
Giving a too large stack uses up memory unnecessarily. A too small stack size will result in memory being overwritten elsewhere.
The text was updated successfully, but these errors were encountered: