GDB Debugger Made Simple: A Step-by-Step Guide

GDB Debugger Made Simple: A Step-by-Step Guide

Introduction to GDB GDB (GNU Debugger) is a powerful command-line debugging tool. Generally, when developing on Windows, command-line debugging is rarely used, as debuggers are mostly integrated with compilers in IDEs. Of course, you can also directly use gcc and gdb to compile and debug our C programs on Windows. For example, MinGW (a collection … Read more

GDB Usage Summary

GDB Usage Summary

From WeChat Official Account: Embedded and Linux Matters Starting To start gdb, simply type the gdb command in the shell. After starting, it will display the following information and show the gdb prompt. ➜ example gdb GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or … Read more

Become an Embedded Expert with These 100+ Open Source Projects!

Become an Embedded Expert with These 100+ Open Source Projects!

In the early stages of learning, the hardest part is finding learning materials, so today I recommend a repository that summarizes embedded open source projects. This article carefully compiles some embedded-related resources, including but not limited to programming languages, microcontrollers, open source projects, Internet of Things, operating systems, Linux and more. These materials are continuously … Read more

Decoding The Top 10 Open Source IoT Operating Systems

Decoding The Top 10 Open Source IoT Operating Systems

Source: Intelligent Things IoT Think Tank Organized and Published Please indicate the source when reprinting —— [Introduction] —— The Internet of Things, open source, and operating systems are currently hot keywords in the IT industry, and these three terms constitute the open source operating systems for IoT. So, how much do you know about open … Read more

Understanding Open Source Operating Systems in IoT

Understanding Open Source Operating Systems in IoT

Source: IntelligentThings Author: John Published by IoT Think Tank Please indicate the source and origin when reprinting —— [Introduction] —— The terms IoT, open source, and operating systems are currently hot topics in the IT industry, and these three terms constitute the open source operating systems for IoT. So, how much do you know about … Read more

Detailed Explanation of Makefile in Linux

Detailed Explanation of Makefile in Linux

👆Click the blue text "Linux Armory" at the top, then select "Set as Star" at the top right Don’t miss out on great articles, see valuable content first. 👆FollowLinux Armory, and receive hardcore Linux learning materials and code Makefile is a tool used for building and managing projects, especially suitable for C/C++ projects. It defines … Read more

Common Makefile Templates for Linux Development

Common Makefile Templates for Linux Development

Click the blue “One Click Linux” in the upper left corner, and select “Set as Starred“ Get the latest articles first ☞【Essential】Embedded Driver Engineer Learning Path ☞【Essential】A Comprehensive Linux IoT Project for Your Resume ☞【Essential】Linux Embedded Knowledge Points – Mind Map – Get it for Free 1 Introduction For development on Windows, many IDEs integrate … Read more

Common Makefile Templates for Development

Common Makefile Templates for Development

Click the "C Language and CPP Programming" above and select "Follow/Top/Star the Public Account" Useful resources delivered to you first! Recently, some friends mentioned they did not receive the daily article push. This is because WeChat has changed its push mechanism, and some friends are unable to see the articles for the day. Missing out … Read more

Embedded Functions in Makefile

Embedded Functions in Makefile

subst String Replacement Function $(subst <from>, <to>, <text>) replaces the <from> string in <text> with <to> and returns the replaced string. SRC:=/mnt/hgfs/share/123 DES:=$(subst /mnt,/root,$(SRC)) #ATTENTION: is, /root not, /root all: @echo $(SRC) @echo $(DES) /mnt/hgfs/share/123 /root/hgfs/share/123 patsubst Pattern String Replacement Function $(patsubst <pattern>, <replacement>, <text>) checks if the words in <text> (separated by spaces, tabs, … Read more

Understanding the Linux Kernel Makefile Execution Process

Understanding the Linux Kernel Makefile Execution Process

This article is an excellent piece from the Kanxue Forum Author ID on Kanxue Forum: jmpcall Essential Knowledge 1.1. Basic Syntax of Makefile If you are not familiar with Makefile syntax, it is recommended to learn it systematically, especially the following points: (1) Which parts of the Makefile contain shell commands: the command part in … Read more