A Comprehensive Guide to FreeRTOS Programming Methods

A Comprehensive Guide to FreeRTOS Programming Methods

Click on the blue text above to follow us. If you are interested, please check out the detailed FreeRTOS series column articles on CSDN. Among the current RTOS, there are mainly two popular programming methods. Next, I will explain these two programming methods through pseudo-code. 1 Initialize hardware and RTOS in the main function, create … Read more

CMSIS-RTOS Layer Support for Multiple RTOS Over a Decade

CMSIS-RTOS Layer Support for Multiple RTOS Over a Decade

The first contact with the CMSIS-RTOS encapsulation layer was back in 2013, and it has been a full 10 years now.The advantages of the encapsulation layer are obvious; it can effectively shield the learning time for everyone using their respective RTOS, requiring only mastery of a single API. Last night, I was checking if the … Read more

Comprehensive GUI Practical Video Tutorial Series 2: RTOS Framework Design and Priority Allocation with ThreadX GUIX and emWin 6.x

Comprehensive GUI Practical Video Tutorial Series 2: RTOS Framework Design and Priority Allocation with ThreadX GUIX and emWin 6.x

Officially starting the design of the GUI comprehensive practical Demo, this video will first create a project framework and preliminary operation. Gradually progressing, the entire series of tutorials will start from simple interface design, and each interface is an independent APP function, which does not affect each other.Tencent Video: Bilibili Video: Video Outline:Reference Materials1. Project … Read more

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

Understanding OS Features of Cortex-M Kernel: An Easy-to-Follow Guide

Understanding OS Features of Cortex-M Kernel: An Easy-to-Follow Guide

Regarding these knowledge points, if everyone goes to learn from the authoritative guide of the Cortex-M kernel, especially for beginners, it will take a long time to digest. Therefore, to help everyone better understand the OS features of the Cortex-M kernel, this video has been specially produced. Everyone can conveniently grasp the essence of these … 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

Understanding the Differences Between Coroutines and Tasks in RTOS

Understanding the Differences Between Coroutines and Tasks in RTOS

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | strongerHuang We are familiar with processes and threads, but their names might be different in RTOS systems. The familiar term is Task (Task), which is similar to Thread (Thread). You will find that in some places, RTOS tasks are also … 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

Creating a Microsecond Resolution Task Scheduling Solution in ThreadX

Creating a Microsecond Resolution Task Scheduling Solution in ThreadX

Explanation:1. In general applications, we usually set the task RTOS system clock tick (heartbeat) to 1ms, but if we directly set the RTOS system clock tick to 1us, the system burden is very high, and many RTOS cannot switch tasks every 1us at a 100MHz main frequency, resulting in the RTOS not having time to … Read more