May 2020
Intermediate to advanced
524 pages
13h 35m
English
In FreeRTOS when all the tasks are in blocked state, there must be at least one task that can enter into the Running state at any time, and this task is known as the Idle task. The Idle task is automatically created when function vTaskStartScheduler() is called. The Idle task consists of a simple loop and it has the lowest priority of 0 so that it cannot prevent any other task in the system to run. The Idle task is forced out of the Running state as soon as a higher priority task enters the Ready state. The Idle task is responsible for cleaning up kernel resources after a task has been deleted. This chapter is about the Idle task. This chapter describes the reason for the existence of the ...
Read now
Unlock full access