TCP/IP Communication Using Socket Programming

TCP/IP Communication Using Socket Programming

OSI Reference Model OSI (Open System Interconnect) is the Open Systems Interconnection model. It is commonly referred to as the OSI reference model, which was researched by the ISO (International Organization for Standardization) in 1985 for network interconnection. To better promote network applications, the ISO introduced the OSI reference model. Its meaning is to recommend … Read more

A More Convenient Code Debugging Tool Than GDB: CGDB

A More Convenient Code Debugging Tool Than GDB: CGDB

From WeChat Official Account: IOT Internet of Things Town Author: Dao Ge, a veteran with over 10 years of embedded development experience, focusing on: C/C++, Embedded, Linux. Table of Contents Example Code with Bug GDB Debugging Operations CGDB Debugging Operations Others’ experiences, our ladder! CGDB is a <span>frontend</span> for <span>GDB</span>, designed to debug code in … Read more

Learning Embedded Systems From Scratch: A Detailed Roadmap

Learning Embedded Systems From Scratch: A Detailed Roadmap

Recently, while chatting with fans on Bilibili, I found out that one of them had worked at a small company for three years after graduation, doing QT development, earning only 7000 RMB per month. Now, the new graduates the company hires have starting salaries of 8000 RMB. He asked HR why the company has such … Read more

Why Embedded C Programming Prefers Typedef?

Why Embedded C Programming Prefers Typedef?

Click the above“Embedded and Linux Matters”, select“Pin/Star the Official Account” Welfare and valuable content delivered promptly Abstract: Different projects have different coding styles and “quirks”. After reading enough code, you will find that some code prefers macros while others prefer using typedef. So what are the benefits of using typedef? Why do many people like … Read more

Understanding Object-Oriented Programming in Embedded C

Understanding Object-Oriented Programming in Embedded C

1. Introduction 1.1 Background and Significance With the widespread application of embedded systems across various industries, C language has long dominated embedded development due to its efficiency, direct hardware access, and cross-platform advantages. However, as the complexity of system functions increases, the traditional procedural programming model often leads to chaotic code structure, high coupling, and … Read more

Advanced Full-Stack Development in Linux C/C++

Advanced Full-Stack Development in Linux C/C++

Advanced Full-Stack Development in Linux C/C++ Introduction In today’s rapidly advancing technology, mastering one or more programming languages has become the pursuit of many. C/C++ programming on the Linux platform, due to its efficiency, stability, and powerful performance, has become a favorite among many developers. Today, let’s explore the secrets of advanced full-stack development in … Read more

10 Essential VS Code Plugins for Embedded Programmers

10 Essential VS Code Plugins for Embedded Programmers

Click the blue text to follow, reply ‘data‘ to getembedded software materials Written by | Zhiwei (WeChat: zwjz1024) 『 Full text1217 words, reading takes about3~5 minutes 』 Hello everyone, I am Zhiwei! Embedded software engineers often use Source Insight, Keil, and IAR to read and write code. VS Code is well known, it’s very powerful … Read more

CMake Learning Summary – Part Three

CMake Learning Summary - Part Three

CMake Learning Summary (Part One) CMake Learning Summary (Part Two) About the Concepts of Dynamic Libraries and Static Libraries: Creating and Using Static Link Libraries in C Hello everyone, in the previous CMake article, we also left a question to implement at the end of the article, which is to put the source files in … Read more

CMake Learning Summary (Part 2)

CMake Learning Summary (Part 2)

Hello everyone, in the last article I shared the first part of the cmake article: CMake Learning Summary (Part 1). Today, I will continue to share more about cmake. Without further ado, let’s get started. 1. Make Good Use of CMake, Be Happy All Day (Even…): 1. For multiple source files, use the command aux_source_directory(dir … Read more

CMake: Generate Source Code During Configuration

CMake: Generate Source Code During Configuration

Introduction: Code generation occurs during configuration, as CMake can detect the operating system and available libraries. Based on this information, the source code for the build can be customized. In this article, we will explore how to generate a simple source file that defines a function to report the configuration of the build system. ✦ … Read more