Stack Test for upward growing stack

I notice the code does not allow you to use stack overflow checking for processors with upward growing stacks (like the dsPIC I am using). Is there a fundamental problem with doing this, or was this more of a need to get arround to it issue. I may work on writing that code and submitting it to you if there isn’t a big issue on why it wasn’t already done.

Stack Test for upward growing stack

Old versions of FreeRTOS used to have both ends of the stack in the control block so the limit at both ends was known high and low. New versions dont have this so only one limit is known. You can add in a variable to hold the high end then it is easy to know when the end of the stack is. Newest versions have the tag in the control block that could be used.