The Basis for FreeRTOS Task Allocation

The Basis for FreeRTOS Task Allocation

The Core Role of the FreeRTOS Idle Task ‌Maintaining Minimum System Operation Guarantee‌ Automatically created after the scheduler starts, with the lowest priority (usually 0), ensuring that there is always a task for the system to execute. When all user tasks are blocked or suspended, the idle task takes over the CPU to avoid an … Read more

In-Depth Understanding of FreeRTOS Configuration

In-Depth Understanding of FreeRTOS Configuration

<span>FreeRTOS</span> configuration is implemented through macro definitions to control the behavior of the FreeRTOS kernel, with parameters designed in <span>FreeRTOSConfig.h</span>. Below is a detailed explanation of commonly used configurations. Scheduling Method Whether to enable preemptive scheduling <span>#define configUSE_PREEMPTION 1</span> : Enables preemptive scheduling (<span>preemptive scheduling</span>), allowing higher priority tasks to interrupt lower priority tasks. <span>#define … Read more

Core Mechanisms and Important Concepts of FreeRTOS Development

Core Mechanisms and Important Concepts of FreeRTOS Development

1. Basic Concepts <span>FreeRTOS</span> (Free Real-Time Operating System) is a lightweight open-source real-time operating system designed for embedded devices. It was developed by <span>Real Time Engineers Ltd.</span> and was acquired by Amazon in 2017, becoming part of Amazon FreeRTOS. FreeRTOS supports various architectures such as <span>ARM Cortex-M</span>, <span>RISC-V</span>, <span>AVR</span>, and <span>MIPS</span>, and is widely used … Read more

How to Port FreeRTOS to Your Project

How to Port FreeRTOS to Your Project

1. Download FreeRTOS Official Website https://www.freertos.org/ 2. Source Code Composition Directory Composition FreeRTOS-LTS ├── aws │ ├── aws-iot-core-mqtt-file-streams-embedded-c │ ├── device-defender-for-aws-iot-embedded-sdk │ ├── device-shadow-for-aws-iot-embedded-sdk │ ├── fleet-provisioning-for-aws-iot-embedded-sdk │ ├── jobs-for-aws-iot-embedded-sdk │ └── sigv4-for-aws-iot-embedded-sdk ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FreeRTOS │ ├── backoffAlgorithm │ ├── coreHTTP │ ├── coreJSON │ ├── coreMQTT │ ├── … Read more

Analyzing ESP32 Core Dumps

Analyzing ESP32 Core Dumps

1. In my previous article, I wrote an introduction to the ESP32, and I think it is necessary to write this article, which mainly focuses on analyzing core dumps. This is similar to crash analysis in Android and Linux systems; it is interesting yet challenging. When we write code, we inevitably encounter some core dump … Read more

C Language Stands Out: Embedded Development Market Research

C Language Stands Out: Embedded Development Market Research

(Click the public account above to quickly follow) Source: oschina www.oschina.net/news/87778/2017-embedded-market-study The global electronics media group AspenCore released the 2017 Embedded Market Research Survey Report, with respondents mainly from North America (56.3%), Europe (25.2%), and Asia (10.6%). The complete report consists of 102 pages, and the download link is (http://m.eet.com/media/1246048/2017-embedded-market-study.pdf). Below are some slides extracted … Read more

Lists and List Items in FreeRTOS

Lists and List Items in FreeRTOS

Click below“Information Technology Person”Follow to explore information technology together Lists and List Items in FreeRTOS 1. Introduction to Lists and List Items (Familiarize) 1. What is a List Answer: A list is a data structure in FreeRTOS that conceptually resembles a linked list, used to track tasks in FreeRTOS. 2. What is a List Item … Read more

FreeRTOS Launches Free Visualization Tool

FreeRTOS Launches Free Visualization Tool

Author | strongerHuang WeChat Official Account | strongerHuangStrictly speaking, it should be the tracking and visualization analysis (debugging) tool based on FreeRTOS launched by Percepio:Percepio View for FreeRTOS.To help developers better understand the task execution status of FreeRTOS, it is necessary to use tools for task analysis.A tool we are quite familiar with is:Tracealyzer, which … Read more

Which is More Suitable for Beginners: ESP32 or STM32?

Which is More Suitable for Beginners: ESP32 or STM32?

Click the blue text above to follow us Whether you are a complete beginner or an experienced developer looking to expand your technical stack, the learning curve is definitely an important consideration when choosing a primary MCU. The ESP32 has rapidly gained popularity 🔥 due to its powerful Wi-Fi and Bluetooth capabilities and active community, … Read more

Microcontroller Development

Microcontroller Development

In the embedded field, embedded real-time operating systems are becoming increasingly widely used. Using an embedded real-time operating system (RTOS) can more reasonably and effectively utilize CPU resources, simplify application software design, shorten system development time, and better ensure the system’s real-time performance and reliability. FreeRTOS is a mini real-time operating system kernel. As a … Read more