Who know that the maximum of task running in FreeRTOS ? is it depend on the configTOTAL_HEAP_SIZE value ?
the task stack value defined in vTaskCreate functions is allocated from FreeRTOS heap or system stack or system heap ?
The task control block (TCB) and the task's stack space are both allocated from the FreeRTOS heap as defined by configTOTAL_HEAP_SIZE (and the specific heapX.c file included in the build). There is nothing in FreeRTOS that limits the number of created tasks except the available FreeRTOS heap space.
In addition to Ken's helpful answer, I posted some links in your other thread.
Hi ken and rechardbarry:
that's really useful .
thank you very much !