Understanding FreeRTOS Stack Management: A Comprehensive Guide

Understanding FreeRTOS Stack Management: A Comprehensive Guide

Previous Article: Understanding FreeRTOS Application Scenarios In this article, the term “stack” refers to the memory area accessed by the computer (including MCU) processor through the stack pointer register. Common access methods include Push/Pop, as well as indirect addressing based on the stack pointer register. Let’s first review how local variables are stored in C … Read more

Five Embedded Operating Systems You Must Know for Learning STM32

Five Embedded Operating Systems You Must Know for Learning STM32

Good news: New Year sale! The 2017 collection of “Microcontroller and Embedded System Applications” electronic journals is only 29.9! Welcome to the Embedded Fan Mall to purchase~ There are five operating systems based on the STM platform that meet real-time control requirements available for porting: μClinux, μC/OS-II, eCos, FreeRTOS, and RT-Thread. Below, we will introduce … 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

A Beginner’s Guide to Embedded Operating Systems: Master the Core of Embedded Systems

A Beginner's Guide to Embedded Operating Systems: Master the Core of Embedded Systems

Today, I would like to share a technical article:How to Get Started with Embedded Operating Systems! What is an Embedded Operating System? An Embedded Operating System (RTOS) is an operating system specifically designed for embedded systems, characterized by real-time capabilities, limited resources, and high reliability. Common RTOS examples include FreeRTOS, VxWorks, etc. 1) Characteristics of … Read more

How to Locate HardFault in FreeRTOS

How to Locate HardFault in FreeRTOS

Source: Official WeChat Account 【Osprey Talks Microcontrollers】 Author: Osprey ID :emOsprey Hello everyone, I am Osprey. Due to some matters, this update is a bit late. But I still strive for everyone to learn some practical technology from Osprey’s official account every time, improving their core competitiveness. Thank you all for your continued support of … Read more

Getting Started with FreeRTOS for Embedded Development

Getting Started with FreeRTOS for Embedded Development

Typically, microcontrollers are developed in a bare-metal mode, where a single while loop runs indefinitely. However, when there are multiple tasks to manage that need to switch back and forth rather than executing in a serial mode, an operating system must be assigned to the microcontroller. Common operating systems used for microcontrollers include UCOS, RTX, … Read more

Understanding FreeRTOSConfig.h Configuration File

Understanding FreeRTOSConfig.h Configuration File

Ⅰ Introduction In addition to the “General Configuration” in the FreeRTOSConfig.h configuration file, the content of other configurations is relatively less used by beginners and is also relatively difficult to understand. To give beginners a general understanding, this article continues to discuss the content of FreeRTOSConfig.h configuration, and further discussions will be combined with applications … Read more

How to Improve FreeRTOS Performance and Reduce RAM Usage

How to Improve FreeRTOS Performance and Reduce RAM Usage

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Previously shared “What Features Have Been Updated in FreeRTOS V10.4.0?“, today we will detail one knowledge point: the direct task (message) notification of FreeRTOS, which aims to reduce RAM usage and speed up execution. Embedded Column 1 Introduction … Read more

Getting FreeRTOS Running on Your Board

Getting FreeRTOS Running on Your Board

Ⅰ Introduction To satisfy everyone’s curiosity, this article will describe several steps to get the FreeRTOS system running directly on the chip. Many details in the source code will be presented in the next article. A demo project that can be run directly will also be provided for everyone to modify and test conveniently. Why … Read more

Step-by-Step Guide to Creating a FreeRTOS Project

Step-by-Step Guide to Creating a FreeRTOS Project

1. Overview This article refers to the FreeRTOS official website and mainly discusses the introduction of FreeRTOS, the composition of the source code package, methods for establishing project engineering, and how to obtain official reference materials. 2. Introduction to FreeRTOS FreeRTOS is a market-leading real-time operating system (RTOS) aimed at microcontrollers and small microprocessors, developed … Read more