FreeRTOScpp: Restructuring the Development Paradigm of Embedded Real-Time Systems RTOS with Modern C++ Features

FreeRTOScpp: Restructuring the Development Paradigm of Embedded Real-Time Systems RTOS with Modern C++ Features

When FreeRTOS Meets Modern C++ As the leading embedded real-time operating system kernel in the global market, FreeRTOS supports over 40 processor architectures under the MIT open-source license. Its lightweight kernel and mature TCP/IP stack have become the preferred choice for IoT devices. The emergence of the FreeRTOScpp project injects modern C++ genes into this … Read more

Is There a Crisis at 35 for Linux C/C++ or Embedded Development?

Is There a Crisis at 35 for Linux C/C++ or Embedded Development?

Follow and star our public account for exciting content Source: Embedded Linux The questions are as follows: I am currently 25 years old, graduated from a non-211 university. I work in Shenzhen, doing embedded development, and my salary is currently average. After reading many blogs written by seniors, I find them great. I have some … Read more

Low Power Design in C++ Embedded Development

Low Power Design in C++ Embedded Development

Low Power Design in C++ Embedded Development In modern embedded systems, low power design is a crucial topic. With the proliferation of IoT devices and wearables, effectively managing power consumption has become a challenge that developers must face. This article will introduce some low power design strategies in C++ embedded development and provide corresponding code … Read more

CMake Executable Not Found? A Comprehensive Analysis of Docker Image Runtime Issues

CMake Executable Not Found? A Comprehensive Analysis of Docker Image Runtime Issues

NEWS Click the blue text to follow usNEWS TODAY Hello everyone, this is The Programmer’s Hair Loss Guide! CMake Executable Not Found? A Comprehensive Analysis of Docker Image Runtime Issues Introduction When building C++ projects using Docker containers, have you encountered the error <span>cmake exe file is not found</span>? This article will provide a detailed … Read more

Introduction to CMake: Essential for Building Modern C++ Projects

Introduction to CMake: Essential for Building Modern C++ Projects

Introduction to CMake: Essential for Building Modern C++ Projects Hello everyone! As a C++ programmer, I understand the importance of build tools. Today, I want to share with you CMake – a powerful cross-platform build tool. Don’t be intimidated by the term “build tool”; follow me step by step, and you’ll find that CMake is … Read more

CMake Basics: Compiling Static and Dynamic Libraries, Customizing Library Output Paths

CMake Basics: Compiling Static and Dynamic Libraries, Customizing Library Output Paths

1. Generate a static library for third-party useIn Linux, the name of a static library is composed of: lib + library name + .a, where the library name needs to be specified, and lib and .a are generated automatically. The Windows system is similar.Project file structure:CMakeLists.txt # Set the minimum required CMake version to 3.15 … Read more

CMake Basics: Compiling Multiple Source Files Together

CMake Basics: Compiling Multiple Source Files Together

1. Multiple source files add.c and subtract.c are in one folder, the file structure is as follows:head.h #ifndef _HEAD_H #define _HEAD_H // Add int add(int a, int b); // Subtract int subtract(int a, int b); #endif add.c #include <stdio.h> #include "head.h" // Add int add(int a, int b) { return a + b; } subtract.c … Read more

Basic Usage of CMake: A Must for Native Cross-Platform Development

Basic Usage of CMake: A Must for Native Cross-Platform Development

CMake is an open-source, cross-platform suite of tools for building, testing, and packaging software. CMake controls the software compilation process using simple platform and compiler-independent configuration files (CMakeLists.txt) and generates native build files and workspaces that can be used in your chosen build environment. The CMake suite was created by Kitware in response to the … Read more

CMake Tips: Do You Really Understand add_dependencies and find_package?

CMake Tips: Do You Really Understand add_dependencies and find_package?

In the world of CMake, mastering dependency management is an essential skill for every developer. Today, we will discuss the two commands add_dependencies and find_package, exploring their differences and how to use them correctly. 🔧 add_dependencies is used to set target dependencies. For example, if you have a custom target or executable that needs to … Read more