Complete the code to define a task stack size of 256 words.
const uint16_t taskStackSize = [1];The stack size is set to 256 words, which is a common size for simple tasks.
Complete the code to create a task with the stack size defined by taskStackSize.
xTaskCreate(TaskFunction, "TaskName", [1], NULL, tskIDLE_PRIORITY, NULL);
The stack size parameter should use the previously defined variable taskStackSize.
Fix the error in the stack size definition to use the correct FreeRTOS type.
StackType_t [1][256];
The stack array should be named appropriately, here taskStack is a clear and common name.
Fill both blanks to declare and initialize a static task stack.
static [1] [2][configMINIMAL_STACK_SIZE];
The stack is declared as an array of StackType_t named taskStack.
Fill all three blanks to create a task with static allocation using stack and control block.
xTaskCreateStatic(TaskFunction, "Task", [1], NULL, tskIDLE_PRIORITY, [2], [3]);
The stack size is configMINIMAL_STACK_SIZE, the stack array is taskStack, and the control block is taskControlBlock.