In-Depth Notes on ZephyrRTOS (2): Basic Program Structure and Multithreading

In-Depth Notes on ZephyrRTOS (2): Basic Program Structure and Multithreading

I believe that the most important aspect of embedded systems is the scheduler, which I think is also the main value of FreeRTOS. However, in addition to the debugger, ZephyrRTOS offers much more. Main Thread The ZephyrRTOS kernel starts the Main Thread after completing the necessary startup tasks, including the initialization of drivers, before entering … Read more

In-Depth Analysis of RTOS Scheduler

In-Depth Analysis of RTOS Scheduler

Autosar OS – Task Management Autosar – OS Scheduler Strategies After reading the above two articles, I believe everyone has a profound understanding of the scheduler and task switching, mastering the operating principles of the scheduler, but there may still be some questions regarding details. For example: how does a task enter the ready state? … Read more

Understanding the FreeRTOS Task Scheduler

Understanding the FreeRTOS Task Scheduler

Concept of Task Scheduler FreeRTOS provides a priority-based preemptive task scheduler: with the exception of interrupt handler functions, the code that locks the scheduler, and code that disables interrupts, all other parts of the system can be preempted. The system theoretically supports an unlimited number of priorities (0 ~ N), the lower the priority value, … Read more