osThreadGetStackSpace() function
Get available stack space of a thread based on stack watermark recording during execution.
Arguments
thread_id
thread ID obtained by osThreadNew or osThreadGetId.
Return value
remaining stack space in bytes.
Examples
osThreadGetStackSpace() is referenced by 1 libraries and example projects: