Understanding GDB Debugging Principles with Visuals

Understanding GDB Debugging Principles with Visuals

1. Introduction This article discusses the renowned GDB. We won’t mention its prestigious background; like its sibling GCC, it was born with a golden key and holds an irreplaceable position in the GNU family. Every embedded development engineer has likely used gdb to debug programs; if you haven’t, it only indicates your development experience hasn’t … Read more

A Debugging Tool More Convenient Than GDB

A Debugging Tool More Convenient Than GDB

CGDB isGDB‘s frontend, which allows debugging code in a graphical form within the terminal window (based onncurse), making it very convenient. Compared toGDB, it can significantly improve efficiency. This article will share the most basic usage of CGDB. If you are hearing about it for the first time, I strongly recommend you to try it … Read more

Issue 8: Sharing C/C++ Embedded System Programming Concepts

Issue 8: Sharing C/C++ Embedded System Programming Concepts

Follow and star the official account to access exciting content ID: Technology Makes Dreams Greater Author: Li Xiaoyao The journal mainly shares original articles and knowledge summaries, reader questions, workplace discussions, etc. Currently, the first two have taken on new forms, and in the future, I will mainly share randomly and update irregularly. This is … Read more

Design and Implementation of SACP Protocol for Multi-Device Embedded Communication

Design and Implementation of SACP Protocol for Multi-Device Embedded Communication

Click on the above “Embedded Application Research Institute” and select “Pin/Star the Official Account“ Practical benefits delivered first-hand! Source Material | GitHub Compiled & Formatted | Embedded Application Research Institute The SACP (Snapmaker Advanced Communication Protocol) is the data communication protocol for Snapmaker devices, used for data transmission between the Controller, PC (Host), and HMI … Read more

Embedded C/C++ Interview Notes – A Collection from Major Companies

Embedded C/C++ Interview Notes - A Collection from Major Companies

Comprehensive Notes on Embedded Programming Interviews Compilation of programming-related questions encountered during real job applications at major companies. 2 0 2 5 Based on my personal experiences during embedded interviews at various major companies (including top-tier companies), I am sharing my genuine interview notes for free. I hope everyone pays more attention to programming details. … Read more

Cross-Compiling C and C++ with CMake

Cross-Compiling C and C++ with CMake

Embedded development, especially in SOA (Service Oriented Architecture), often encounters a scenario where part of the business functionality is developed in C and is relatively mature, and there is a desire to reuse it directly. However, the underlying services obtained by the business layer are written in C++. If both need to be placed in … Read more

CMake Practical Tutorial (Part 2)

CMake Practical Tutorial (Part 2)

Introduction From the previous article, I believe everyone has understood what CMake is, but it’s not something you can master just by looking at it; you need to practice in order to learn it. If you have already practiced, you will realize how difficult it is to use the content from the last article in … Read more

CMake Module Detailed Explanation: Mastering Usage and Custom Modules

CMake Module Detailed Explanation: Mastering Usage and Custom Modules

1. Introduction This article will focus on the usage of system-defined Find modules and how to write your own Find modules. The system provides various other modules, which generally need to be explicitly called using the INCLUDE directive. The FIND_PACKAGE directive is a special case that can directly invoke predefined modules. In fact, managing a … Read more

Differences Between GCC and G++: A Comprehensive Guide

Differences Between GCC and G++: A Comprehensive Guide

GCC (GNU Compiler Collection) and G++ are both compilers developed by GNU, but they have some functional differences. Although they belong to the same toolset, the main difference lies in the programming languages they support and how they handle the compilation of source code. Here is a detailed introduction and comparison of GCC and G++. … Read more

The Secrets of GCC/MSVC Search Paths

The Secrets of GCC/MSVC Search Paths

If this article helps you, feel free to follow Programmer Xiao Mi . Wishing you progress in your programming journey! Different paths may contain the same header files, and the search rules for header files also have their own regulations. Library files similarly have search path issues. GCC Header Files When compiling C code with … Read more