static version of vTaskList

FreeRTOS 9 provide new api to create Task, queues, etc. statically allocated. I wonder how to modify vTaskList so it does not need to call pvPortMalloc best regards Max

static version of vTaskList

That would be tricky, but if you know the maximum number of tasks you application will ever create then you could pre-allocate the memory required.