I have searched many of the threads here looking for and answer but have not had to much luck.
I am using FreeRTOS on an lpc2368 arm7 core.
In xTaskCreate, the usStackDepth is in multiple of stack width. So for the arm7 this would be multiple of 4 bytes.
e.g usStackDepth = 100 = 100 * 4 bytes
That I understand ( i hope), although in one post I found it said that for a 32 bit stack and allocating 100 elements the size would be 32 x 100 - I assume that was in bits.
I am using vTaskList() to display task info. From the online manual -
Lists all the current tasks, along with their current state and stack usage high water mark.
Now just what is meant by the high water mark. From what I am seeing I think it is the amount of free space on the stack, because the more I allocate in xTaskCreate, the larger this value seems to get.
Also is this value in bytes or in stack widths ?