What is the Difference Between FreeRTOS Hook Functions and Idle Tasks?

What is the Difference Between FreeRTOS Hook Functions and Idle Tasks?

Recently, I used FreeRTOS in a project and became curious about idle tasks and hook functions, so I wanted to understand what these two are used for. Here, I will share some of my insights.1. Idle TaskThe idle task is a task that is created by default after the FreeRTOS system starts, and it has … Read more

The Basis for FreeRTOS Task Allocation

The Basis for FreeRTOS Task Allocation

The Core Role of the FreeRTOS Idle Task ‌Maintaining Minimum System Operation Guarantee‌ Automatically created after the scheduler starts, with the lowest priority (usually 0), ensuring that there is always a task for the system to execute. When all user tasks are blocked or suspended, the idle task takes over the CPU to avoid an … Read more