Libmemory: The Dynamic Memory Management Tool for Embedded Systems

Libmemory: The Dynamic Memory Management Tool for Embedded Systems

Dynamic memory management is one of the core challenges in embedded development. Many bare-metal platforms and lightweight RTOS do not provide standard <span>malloc()</span> and <span>free()</span> interfaces, leading to poor code portability and difficult resource management. Today, we introduce libmemory, an open-source tool designed to solve this pain point. This article will explore all aspects of … Read more

NuttX: A Compact and Powerful Embedded Real-Time Operating System

NuttX: A Compact and Powerful Embedded Real-Time Operating System

Introduction to NuttX NuttX is a real-time operating system (RTOS) that emphasizes standard compliance and small size, applicable to microcontroller environments ranging from 8-bit to 64-bit. In NuttX, the main standards are POSIX and ANSI, and it also incorporates standard APIs from Unix and other common RTOS (such as VxWorks) to achieve functionalities not covered … Read more

Embedded Programming: Bare Metal vs Real-Time Systems

Embedded Programming: Bare Metal vs Real-Time Systems

Embedded system development can be divided into Bare Metal and RTOS (Real-Time Operating System). Bare metal development means no RTOS, with programs running directly on the MCU, where all task scheduling is completely managed by the developer. Bare metal development is suitable for simple tasks, low-power systems, and small embedded devices, but when tasks become … Read more

Is Embedded Real-Time Operating System Truly Real-Time?

Is Embedded Real-Time Operating System Truly Real-Time?

We often say RTOS (Real Time Operating System) real-time operating system, but what exactly is a real-time operating system? Is it truly real-time?I believe many beginners have this question. Brief Introduction to RTOS RTOS:Real Time Operating System, which meansreal-time operating system. According to Baidu Baike’s explanation: A real-time operating system is one that can accept … Read more

Ensuring Real-Time Performance in Linux Embedded Systems

Ensuring Real-Time Performance in Linux Embedded Systems

Click the blue text above to follow us In embedded systems, although Linux itself is not a real-time operating system, its real-time performance can be significantly improved by implementing PREEMPT-RT patches, rational scheduling, optimizing interrupt handling, limiting kernel interference, and leveraging hardware acceleration. 1 Using Real-Time Linux (PREEMPT-RT) PREEMPT-RT is a set of patches that … Read more

14 Common Embedded Real-Time Systems You Should Know

14 Common Embedded Real-Time Systems You Should Know

Embedded operating systems (RTOS) that meet real-time control requirements. Here are 14 mainstream RTOS:μClinux, μC/OS-II, eCos, FreeRTOS, mbed OS, RTX, Vxworks, QNX, NuttX, and domestic embedded operating systems include the Dujiangyan Operating System (djyos), Alios Things, Huawei LiteOS, RT-Thread, and SylixOS. Below are the characteristics of these 14 embedded operating systems. 1. μClinux μClinux is … Read more

Introduction to Famous Embedded Real-Time Operating Systems

Introduction to Famous Embedded Real-Time Operating Systems

With the continuous advancement of electronic technology and the increasing maturity of chip manufacturing processes, embedded systems have gradually been applied in various fields such as civilian, commercial, industrial, and military. In fields such as smart electronic products, industrial control, military equipment, and aerospace, there is a need for a system that can accept and … Read more

Concurrency Control and Thread Safety in Embedded Environments

Concurrency Control and Thread Safety in Embedded Environments

The increasing scale of code and multi-threading technology based on RTOS has made embedded software development more focused on “concurrency control and thread safety.” When multiple execution threads (referring to any context running code, including threads and interrupt service routines) need to access the same shared resources (including software data and hardware resources), errors may … Read more

How to Design Low Power Consumption in Microcontroller RTOS?

How to Design Low Power Consumption in Microcontroller RTOS?

Have you ever worked on low power consumption products? Low power products may seem simple, but to create a low power product, especially achieving ultra-low power consumption, is relatively more challenging. Today, we will discuss the approach to low power design in an RTOS environment. Preface: Programming Mindset The design of embedded products is diverse … Read more

3 Often Overlooked Tips for Improving Low-Power Design

3 Often Overlooked Tips for Improving Low-Power Design

In today’s article, we will explore several low-power design techniques that are often overlooked but can make a significant difference… Designing embedded systems to extend battery life has become an important consideration for many teams. Optimizing battery life helps to reduce field maintenance costs and ensures that customers can enjoy a good product experience without … Read more