Watermark in Azure ThreadX?
Greetings and thanks for reading.
FreeRTOS has a built in utility function uxTaskGetStackHighWaterMark() that reports on the amount of space unused by the stack. You can use this function to gauge just how much of the stack is used and how close you are to corruption or conversely how much memory you are wasting. Its a way of both preventing crashes (due to blown stacks) and simultaneous allowing you to optimize the size of the stack for applications that may be tight on memory.
Within the Azure ThreadX I could find no such function that will report such useful information. Is there such a utility within ThreadX that I can call?
Thanks,
Hab
