the maximum of tasks running in FreeRTOS

HI ; 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 ? vincent

the maximum of tasks running in FreeRTOS

Hi Vincent, 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. Ken

the maximum of tasks running in FreeRTOS

In addition to Ken’s helpful answer, I posted some links in your other thread. Regards.

the maximum of tasks running in FreeRTOS

Hi ken and rechardbarry: that’s really useful . thank you very much ! Vincent