Multithreading with FreeRTOS on ESP32

Multithreading with FreeRTOS on ESP32

LingShun Lab (lingshunlab.com) mainly introduces how to use multithreading with FreeRTOS on the ESP32. What is Multithreading? It refers to the technology of implementing multiple threads to execute concurrently from software or hardware. Computers with multithreading capabilities can execute more than one thread at the same time due to hardware support, thereby improving overall processing … Read more

Understanding Domestic Embedded Operating Systems: Key Insights

Understanding Domestic Embedded Operating Systems: Key Insights

For a long time, embedded operating systems have been the foundational software for communication, automobiles, consumer electronics, and aerospace. With the rapid development of the Internet of Things and artificial intelligence, embedded operating systems are playing an increasingly significant role in intelligent systems. Amidst the turbulent international political and economic environment, domestic embedded operating systems … Read more

Understanding Scheduling Strategies in RTOS Applications

Understanding Scheduling Strategies in RTOS Applications

Follow+Star Public Account, don’t miss out on exciting content Source | Microtech Technology Transitioning from software development with a front-back architecture to using Real-Time Operating Systems (RTOS) can be a challenging task. However, there are many advantages to using RTOS, such as simplifying application integration and supporting task preemption scheduling. It becomes meaningful to use … Read more

Understanding the Purpose of HOOK Functions in RTOS

Understanding the Purpose of HOOK Functions in RTOS

Follow +Star Public Account Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | Embedded Column In many operating systems, there is a type of API function interface: HOOK functions (also known as hook functions). For example: HOOK functions can be found in Windows desktop operating systems, µC/OS, FreeRTOS and other real-time … Read more

How RTOS Kernel Manages Interrupts

How RTOS Kernel Manages Interrupts

Source | Mculover666 To develop “advanced” applications based on RTOS, many principles of the kernel must be mastered. This article will explain how the RTOS kernel manages interrupts? How should users write interrupt handler functions? And how can users set critical sections? 1. Review of Knowledge — Interrupts 1.1. Interrupt Mechanism The interrupt mechanism is … Read more

Why Not Use Global Variables for Inter-task Communication in RTOS?

Why Not Use Global Variables for Inter-task Communication in RTOS?

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Students who have a deep understanding of RTOS principles or have read RTOS source code should know: RTOS implements inter-task communication usually by a series of pointers. The “effective data” of inter-task communication is actually implemented by pointers pointing … Read more

Understanding the RTOS Kernel: A Guide for Beginners

Understanding the RTOS Kernel: A Guide for Beginners

Follow+Star Public Account Number, don’t miss exciting content Author | strongerHuang WeChat Public Account | strongerHuang I recently saw a discussion in a technical group about whether to read the RTOS kernel source code. From the perspective of someone who has been there, I would say: it is not necessary, I do not recommend reading … Read more

How Multitasking is Implemented in RTOS Real-Time Operating Systems

How Multitasking is Implemented in RTOS Real-Time Operating Systems

Follow our official account to never miss an update! Many friends who have been using bare-metal programming for a long time may have misunderstandings about many concepts when switching to learn RTOS. 1Introduction Most people do not understand some concepts in RTOS when they start learning real-time operating systems. They are often confronted with concepts … Read more

Why Lightweight Kernel Abstractions for RTOS Are a Mistake

Why Lightweight Kernel Abstractions for RTOS Are a Mistake

As a pioneer and innovator in RTOS, the author shares a very clear viewpoint: Many engineers feel that all RTOS options are similar when choosing an RTOS, and believe that some lightweight kernel abstractions can meet the major demands for safe and reliable systems today. This thought is fundamentally flawed. No company or project team … Read more

Differences Between RTOS and TSOS

Differences Between RTOS and TSOS

When learning the principles of operating systems, you will come across terms like “time slice”, “preemptive”, and “real-time”, which many people may not fully understand, even after studying or working in operating system development. Ultimately, it comes down to not grasping some basic principles of operating systems. This article aims to address similar questions that … Read more