richard_damon wrote on Tuesday, July 09, 2013:
If you are getting stack overflow traps, you need to increase the stack for the task that is overflowing (or do something to reduce the stack size it needs), it is that simple. Note that one of the parameters given to the overflow hook is the name of the task that overflowed.
If you can run under a debugger, then set a breakpoint in the overflow hook to find out who is overflowing, otherwise, have the hook somehow communicate this name to you (send to a debug serial port or something).