Deep Dive Into Classes and Objects in C++

Deep Dive Into Classes and Objects in C++

Everyone, it’s time to learn again! Today! What spiritual food are we bringing? It’s classes! A class is a collection of objects that have the same attributes and operations, providing a unified abstract description for all objects belonging to that class. It includes two main parts: attributes (data variables) and operations (member functions). In short, … Read more

Cultivating Embedded C/C++ Programming Skills

Cultivating Embedded C/C++ Programming Skills

Follow “Embedded Miscellany“, and choose “Star Official Account” to progress together! Source: CSDN What makes a good programmer? Is it knowing many technical details? Or understanding low-level programming? Or being fast at coding? I think none of these. For some technical details and low-level technologies, you can find them in help documents or by researching. … Read more

Detailed Explanation of CMakeLists.txt

Detailed Explanation of CMakeLists.txt

In the previous article, “Introduction to CMake Build Tool for ESP32,” we introduced the most basic usage of CMake with a “Hello World” program. Today, we will provide a detailed explanation of the CMakeLists.txt file. CMakeLists.txt The CMakeLists.txt file is the core configuration file for the CMake build tool. It contains a series of instructions … Read more

Overview of CMake Project Build Process

Overview of CMake Project Build Process

One-Click Three Connections,Continuous Valuable Content! Introduction Guite Embedded focuses on sharing knowledge about embedded software and hardware. 1 First Build – First, execute CMake in the project root directory to generate the Makefile or other build tool files required for the build system. This is typically done by running a command like `cmake /path/to/source`. – … Read more

Introduction to CMake: Easily Build C++ Projects

Introduction to CMake: Easily Build C++ Projects

In C++ project development, the build process can often be cumbersome, especially in cross-platform development. Today, I would like to introduce a powerful build tool—CMake. 1. What is CMake CMake is a cross-platform automated build tool widely used in C++ projects. It is primarily used to manage the software compilation process by controlling the compilation … Read more

CMake: The Superior Choice for Software Building

CMake: The Superior Choice for Software Building

1. The Role of CMake in Real Life In modern software development, CMake plays a crucial role. It is a cross-platform build tool that helps developers efficiently manage and build software projects. First, CMake provides a unified way to describe the build process of a project, ensuring consistency regardless of whether the project is developed … Read more

Managing Multiple Modules in CMake

Managing Multiple Modules in CMake

Background CMake CMake is a cross-platform open-source build tool used to manage and automatically generate the build process of software projects. CMake automatically generates build system files suitable for different compilers and operating systems, such as Makefile and Visual Studio solutions, based on the descriptions in the CMakeLists.txt file. Multiple Modules Typically, a project will … Read more

Introduction to Multicore Debugging and Basic Operations with IAR

Introduction to Multicore Debugging and Basic Operations with IAR

In the process of project development, different chip platforms may use different compilation and debugging environments. Taking compilers as an example, commonly used ones include Tasking, Hightec, GreenHills, and IAR. In addition, there are various types of debuggers and emulators. Therefore, familiarizing oneself with the software/hardware environment used is a fundamental skill for software development … Read more

Which Has Greater Core Competitiveness: Embedded Applications or BSP?

Which Has Greater Core Competitiveness: Embedded Applications or BSP?

Click below【Learn Embedded Together】 to follow, learn together, and grow together To answer this question, let’s first look at what embedded applications and embedded BSP (Board Support Package) each do. Embedded Applications Embedded applications, on the surface, seem to involve software development, but essentially, they involve business work. The software developed is determined by the … Read more

Building the ‘Library’ Concept for Embedded Device Drivers

Building the 'Library' Concept for Embedded Device Drivers

How to write excellent C code? Excellent code is undoubtedly the crystallization of various programming techniques and design philosophies, so it requires step-by-step accumulation. Here I share this article on building the ‘library’ concept, and everyone can experience it. What if device programs were perfectly library-based? 1. All engineers would spend minimal effort when porting … Read more