Heap Watermark

sergiomartin wrote on Friday, March 23, 2018:

Hi,
Is there a possibility to know the watermark of the heap ?
I am using the heap2

Thanks

rtel wrote on Friday, March 23, 2018:

See the functions xPortGetFreeHeapSize() and
xPortGetMinimumEverFreeHeapSize() mentioned on this page:
https://www.freertos.org/a00111.html

sergiomartin wrote on Wednesday, March 28, 2018:

Hi,

xPortGetFreeHeapSize() works fine but xPortGetMinimumEverFreeHeapSize() is only implemented for Heap4

Thanks.