Enhancements in HaoCurve: Image Manipulation and More

Enhancements in HaoCurve: Image Manipulation and More

The HaoCurve tool has been developed for 6 years, and its user base is growing. Every year, many friends provide various suggestions for HaoCurve, leading to an annual increase in the codebase, which has now become so large that it causes lag even when wrapping lines. This isn’t a major problem; the most troublesome part … Read more

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

Embedded C/C++ Specialized Test Questions

Embedded C/C++ Specialized Test Questions

1. In linux+gcc, which of the following statements about the code is incorrect?____. std::string& test_str() { std::string str=”test”; return str; } int main() { std::string& str_ref=test_str(); std::cout<<str_ref<<std::endl;< p=”” style=”margin-right: auto; margin-left: auto;”></str_ref<<std::endl;<> return 0; } A Compilation warning B Returns a reference to a local variable, runtime unknown error C Compiles and runs normally D … 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