Get remaining thread stack space


Raj Gundi
 

Hi,

 

Is there a way to get the remaining stack space of a thread in Zephyr? For e.g. if a thread is configured to use a max stack space of 512 bytes, is there a way to find out the actual stack used by the thread? If the actual stack space used is 200 bytes, the unutilized space would be 312 bytes.

 

Regards,

Raj

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.