Arduino-Scheduler
Arduino-Scheduler copied to clipboard
Add documentation about how to adjust task stack size
With the new stack coloring it is possible to capture the max task stack size and adjust. The basic working procedure is:
- Calculate a worst case stack size and add some additional head room.
- Add a call to the Scheduler.stack() member function and capture the maximum head room during execution.
- Reduce the initial stack size.