Page 1 of 1
uxTaskGetStackHighWaterMark always returns 0 (zero)
Posted: Mon Jun 12, 2017 1:47 am
by psiphi75
When using `uxTaskGetStackHighWaterMark(NULL)` within a task, it always returns zero. Even with a very large stack.
Any ideas?
Re: uxTaskGetStackHighWaterMark always returns 0 (zero)
Posted: Thu Jul 06, 2017 9:22 am
by f.h-f.s.
check INCLUDE_uxTaskGetStackHighWaterMark in components/freertos/include/FreeRTOSConfig.h
Re: uxTaskGetStackHighWaterMark always returns 0 (zero)
Posted: Thu Jul 06, 2017 9:31 am
by psiphi75
Thanks, in the end it was actually a bug in my own code. I should have commented on this earlier.