Reverse Engineering FreeRTOS: A Comprehensive Guide

Reverse Engineering FreeRTOS: A Comprehensive Guide

FreeRTOS Introduction FreeRTOS is a mini real-time operating system kernel. As a lightweight operating system, it includes functionalities such as task management, time management, semaphores, message queues, memory management, logging features, software timers, coroutines, etc., which can basically meet the needs of smaller systems. Compiling FreeRTOS Compilation Environment · Windows 10 20H2 · Keil V5.33.0.0 … 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

FreeRTOS Practical Guide: From Beginner to Expert

FreeRTOS Practical Guide: From Beginner to Expert

FreeRTOS Practical Guide: From Beginner to Expert In the field of embedded systems, Real-Time Operating Systems (RTOS) play a crucial role, helping developers better manage task scheduling, memory allocation, and multi-threading. FreeRTOS, as an open-source, lightweight real-time operating system kernel, is widely used in both commercial and academic fields. This article will introduce how to … Read more

Understanding RTOS Priority Preemptive Scheduling

Understanding RTOS Priority Preemptive Scheduling

Follow+Star Public Number, don’t miss wonderful content Source | McuLover666 1. Knowledge Point Consolidation 1.1. Knowledge Point Consolidation The three major elements of a task: task control block, task stack, task entry function, here you can refer to the article: How to write RTOS tasks? 1.2. Doubly Circular Linked List A doubly linked list is … Read more