ESP32 Performance Optimization Strategies: Execution Efficiency Analysis

ESP32 Performance Optimization Strategies: Execution Efficiency Analysis

In ESP32 development, execution efficiency analysis is a core aspect of performance optimization, aimed at identifying code bottlenecks through quantitative methods and optimizing them accordingly. The following are execution efficiency analysis strategies based on the characteristics of the ESP32 and practical project experience, covering performance testing methods, algorithm optimization, compiler configuration, and task scheduling: 1. … Read more

Introduction to FreeRTOS – Creating a Project

Introduction to FreeRTOS - Creating a Project

Recently, I found some free time and decided to review FreeRTOS. I am also posting this article for easy reference later. The following content will use the standard library for the STM32F407ZGT6 model as an example.(1) Download the Source CodeYou can directly search for “FreeRTOS” in your browser to download it, or you can access … Read more

What Are the Options for Running an Operating System on Microcontrollers?

What Are the Options for Running an Operating System on Microcontrollers?

When programming microcontrollers, it is well known that there are two basic modes of operation: bare metal and operating systems. Bare metal refers to a large loop that executes repeatedly. Today, we will discuss several commonly used operating systems. A Real-time Operating System (RTOS) is designed to run tasks in a prioritized order, manage system … Read more

Zephyr Enthusiasts Monthly Issue 7 – 202507

Zephyr Enthusiasts Monthly Issue 7 - 202507

This issue records the latest news and shareable content about Zephyr, published in the last week of each month. This magazine is open source (GitHub: lgl88911/Zephyr_Fans_Monthly[1]), and contributions, issue submissions, or recommendations for Zephyr content are welcome. Project Data Excluding merges, 314 authors pushed 1,316 commits to the main branch and 1,420 commits to all … Read more

Embedded Field: The Ultimate Showdown Between Linux and RTOS!

Embedded Field: The Ultimate Showdown Between Linux and RTOS!

链接:https://www.cnblogs.com/ydswin/p/18757690 ☞ The course by Liang Xu has completely exploded! ☜ Currently, many embedded devices run on RTOS and Linux systems. What are the differences between the two? 1. Multi-faceted Comparison 1. Real-time Performance Real-time performance ensures that tasks are completed within a specific time frame. An important metric for measuring the robustness of a … Read more

FreeRTOS – Semaphore Overview

FreeRTOS - Semaphore Overview

This article introduces the concept and usage of semaphores in the FreeRTOS operating system. It demonstrates resource sharing between different tasks through button presses and serial communication. Introduction A semaphore is a synchronization mechanism used for resource management when multiple tasks access the same resource. Semaphores can be categorized into binary semaphores (similar to “flags”, … Read more

Core Code of FreeRTOS: Task Module (Part 1)

Core Code of FreeRTOS: Task Module (Part 1)

The source code of the task function includes the following parts: Priority handling Task creation Starting the first task Task switching Task blocking/waking This article will not cover all the above points, but will focus on:1. Priority handling2. Creation and starting of the first task1. Priority handlingFreeRTOS tasks are divided into 1-5 different priority levels, … Read more

Getting Started with FreeRTOS – Task Management

Getting Started with FreeRTOS - Task Management

Scan to FollowLearn Embedded Together, learn and grow together This series of articles on FreeRTOS aims to help beginners quickly get started and master the basic principles and usage methods of FreeRTOS while organizing knowledge. Getting Started with FreeRTOS – Exploring the System The official Chinese version of the FreeRTOS website is now online! FreeRTOS … Read more

Understanding the Timer Module in FreeRTOS

Understanding the Timer Module in FreeRTOS

Introduction:In modern embedded systems, timers are one of the core components for task scheduling, event triggering, and resource management. However, hardware timer resources are limited, making it difficult to meet the diverse timing requirements in complex application scenarios.The software timer module in FreeRTOS is a key component in real-time systems. By utilizing virtualization technology, it … Read more

An In-Depth Explanation and Practical Applications of FreeRTOS Queues

An In-Depth Explanation and Practical Applications of FreeRTOS Queues

An In-Depth Explanation and Practical Applications of FreeRTOS Queues What is a Queue? Imagine you are in line to buy ice cream. The first person is at the front of the line, and the first person to finish buying ice cream will leave the queue, followed by the second person, and so on. If you … Read more