FreeRTOS heap size define !

vicui wrote on Tuesday, December 17, 2013:

Hi:

my all task stack size * 4 is 25600 Byte in my system.
if I define FREERTOS heap size is 30KByte, all task is created successfully, but some task can’t work.
if I define FREERTOS heap size if 31KByte, all task is created successfully, and all task work well.
except task stack size is malloc from freertos heap, is there other memory from freertos heap ?

vincent

richard_damon wrote on Tuesday, December 17, 2013:

In addition to the stacks, FreeRTOS also allocates the Task Control Blocks, and all Queue, Semaphores and Mutexes on the heap.