Menu

#95 Provide a function that returns all stack information

closed
nobody
None
5
2016-01-27
2015-11-04
No

The function should return stack top, bottom, the current stack pointer, and the high water mark.

Discussion

  • Richard Barry

    Richard Barry - 2016-01-27
    • status: open --> closed
     
  • Richard Barry

    Richard Barry - 2016-01-27

    vTaskGetTaskState() function introduced which, among other things, returns the address of the base of the stack, and the high water mark. The size of the stack is not saved, but is known to the application writer (as it will have been specified when the task was created), and the high address of the stack can be calculated from the base and its size.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.