omermiranda wrote on Thursday, October 27, 2016:
HI,
I am using free rtos on STM32 M0 controller. I have defined configTOTAL_HEAP_SIZE ( ( size_t ) ( 6500 ) ).
I have created 4 task with 128 bytes stack each, 2 queues of length 10 and 2 mutexs.
I want to know the heap used for this configurations. So I used the function xPortGetFreeHeapSize(). But this function returns 2924 value. I am a little confused as to how iam consuming (6500 - 2924 = 3576)
Can anyone please explain?
Thanks!