The Role of C++ in Embedded Systems

The Role of C++ in Embedded Systems

Embedded systems, simply put, are computer systems embedded in various devices and machines, responsible for controlling and managing the operation of these devices. They are present in many aspects of daily life, from smartphones to cars, from home appliances to industrial equipment, almost everywhere. So, why are embedded systems so important? They often require efficient … Read more

The Eight Leading IoT Operating Systems of the Future

The Eight Leading IoT Operating Systems of the Future

Unlike the PC and mobile device sectors, a wide range of commercial and open-source operating systems drive the Internet of Things (IoT). This article introduces eight leading IoT operating systems and their respective best use cases. The tech industry spends a significant amount of time focusing on the IoT craze. Both profit-driven tech companies and … Read more

What Are the Main Embedded Operating Systems (RTOS)?

What Are the Main Embedded Operating Systems (RTOS)?

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

From Technology to Platform: ARM’s Ambitions in IoT Era

From Technology to Platform: ARM's Ambitions in IoT Era

Introduction From providing chip IP licensing to establishing its own development platform and device management platform mbed, ARM is planning and exploring business model transformation to cope with the changes of the IoT era. Currently, the mbed platform is merely a platform for technical exchange. If ARM’s mbed can become a trading platform for various … Read more

Understanding U-Boot Makefile

Understanding U-Boot Makefile

1. Compiling U-Boot First, let’s review how to compile U-Boot. (1) Set temporary environment variables export ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- (2) Specify board configuration and generate .config file make xxx_defconfig (3) Compile make -j8 (4) Clean build make distclean Next, we will analyze the top-level Makefile in the U-Boot root directory to explore what happens behind these … Read more

Why I Use Makefile for Processes

Why I Use Makefile for Processes

Automatically check if target files or source files exist. If the source files are not found, exit the make process. If the target files are found, skip this make step. Automatically check for changes in target files or source files. If the source files are modified, regenerate the corresponding target files. Easy to run multiple … Read more

Overview of Linux Kernel Configuration, Compilation, and Makefile

Overview of Linux Kernel Configuration, Compilation, and Makefile

Recently, I have been learning about the configuration, compilation, and Makefile for the Linux kernel. Today, I would like to summarize my learning results and share them with everyone. 1. Unpacking and Patching First, you need to unpack the Linux kernel you obtained. Here I am using version linux.2.22.6. In the Linux command line, you … Read more

Master Makefile in 5 Minutes

Master Makefile in 5 Minutes

Photographer: Product Manager This Sichuan restaurant tastes quite good In a previous article titled “One Skill a Day: Writing Makefile for Python Projects”, we discussed Makefile. Many students have left messages on the public account backend, wanting to learn more about how to write a Makefile. Thus, we have today’s article. If you are currently … Read more

Practical Debugging Techniques for Makefile

Practical Debugging Techniques for Makefile

In the previous sections, we discussed the basic rules, functions, and patterns of makefiles. When writing makefiles in practice, we often encounter various issues. How can we quickly and effectively solve these problems? Here, I will introduce several common techniques to help us better handle and resolve the issues we encounter. MakefileDebugging Technique1 During the … Read more

General Makefile Application Guide for Advanced Embedded Programming

General Makefile Application Guide for Advanced Embedded Programming

Introduction For development on Windows, many IDEs integrate compilers, such as Visual Studio, providing a “one-click compile” feature, allowing the user to compile, link, and generate target files with just one operation after coding. Linux development differs from Windows; the gcc/g++ compiler is generally used in Linux. If developing Linux programs for ARM, the arm-linux-gcc/arm-linux-g++ … Read more