CreateStatic & heap allocation problem

bachadamin wrote on Thursday, March 23, 2017:

After creation of a task or queue with createstatic, I verify my heap free space but I found that it still the same as I define it in freertosconfig.h ?
I’m using heap 1 and I set the static allocation to 1 and freertos v 9.00
So could you tell me where those tasks are created exacetly ?

rtel wrote on Thursday, March 23, 2017:

If you use the ‘CreateStatic’ version then you are explicitly using
statically allocated memory, by which I mean, memory allocated by the
compiler at compile time. That is distinct from dynamically allocated
memory, which is allocated from the heap at run time.

See the description of the puxStackBuffer and pxTaskBuffer parameters on
the following documentation page: