Understanding RTOS Operation Mechanism Through Video Tutorials

Understanding RTOS Operation Mechanism Through Video Tutorials

In this video tutorial, we will understand the **RTOS** operation mechanism, task management, and task switching from an application perspective. We strive to provide a rich visual experience, as good graphical analysis greatly aids in understanding **RTOS**. In this video, we adopt a step-by-step approach to clarify the operation mechanism of **RTOS**. Tencent Video: Bilibili … Read more

Optimal Stack Size for RTOS Task Allocation

Optimal Stack Size for RTOS Task Allocation

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang Many students have such doubts: How much stack space should I allocate when creating a task? If one of my tasks has a larger code size, should I allocate more stack space? Below, I will describe the relevant … Read more

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