May 2020
Intermediate to advanced
496 pages
13h 54m
English
When a task is created using dynamically allocated memory, the call will look something like this (see Chapter 7, The FreeRTOS Scheduler, for more details on the parameters that are not related to memory allocation):
BaseType_t retVal = xTaskCreate( Task1, "task1", StackSizeWords, NULL, tskIDLE_PRIORITY + 2, tskHandlePtr);assert_param(retVal != pdPASS);
There are a few relevant pieces of information, relevant to memory allocation, to note about this call: