Automated Compilation Script for Keil

Automated Compilation Script for Keil

Follow+Star Public Account, don’t miss exciting content Source | Gitee Author | DinoHaw Although Keil development for microcontrollers is often criticized by many developers, it must be acknowledged that Keil is still one of the preferred tools for many microcontroller developers. Today, I will share an open-source automated compilation script for Keil. 1. Source of … Read more

C++20 Module System and Compilation Time Optimization

C++20 Module System and Compilation Time Optimization

1. The Emergence of the C++20 Module System 1. The Emergence of the C++20 Module System In the world of C++ programming, the traditional header file mechanism has long been a double-edged sword. On one hand, it provides some convenience for code organization and reuse; on the other hand, it brings many tricky problems that … Read more

Practical Raspberry Pi Linux Compilation Guide

Practical Raspberry Pi Linux Compilation Guide

Generally, the Linux protocol for module docking is the USB protocol. The module can be used directly after being plugged into the Linux device via USB, and the system will detect the device’s identifier: PID VID. However, in practical applications, some newcomers often ask: Linux is really not user-friendly for beginners, is there a good … 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

Introduction to Makefile

Introduction to Makefile

Makefile is created for this problem; it defines a set of rules that determine which files need to be compiled first, which files later, and which files need to be recompiled. — Liang Xu, Linux Source: zhuanlan.zhihu.com | Author: Liang Xu, Linux 1. What is Makefile In an enterprise-level project, there are usually many source … Read more

Linux Kernel Makefile Execution Process

Linux Kernel Makefile Execution Process

Scan to FollowLearn Embedded Together, Learning and Growing Together Essential Knowledge 1.1. Basic Syntax of Makefile If you are not familiar with Makefile syntax, it is recommended to learn it systematically first, especially the following points: (1) Which parts of the Makefile contain shell commands: The command part in the compilation rules ${shell XX}, var … Read more

Mastering 80% of Makefile: From Basics to Complex Project Management

Mastering 80% of Makefile: From Basics to Complex Project Management

Mastering 80% of Makefile: From Basics to Complex Project Management Makefile is one of the tools that every software developer should master. It helps us automate the compilation and build process, ensuring that project dependencies and build order are handled correctly. This article will start from the basic concepts of Makefile, detailing how to write … Read more

Passing Parameters to Makefile

Passing Parameters to Makefile

In a project, during the later stages of software development, the leadership proposed new requirements based on Client A’s requests to adjust some display information, while the overall logic remained largely unchanged. After accommodating these new requirements, Client B also raised new requests, requiring some customization of logic and display information. At this point, someone … Read more

Basics of Makefile

Basics of Makefile

Lost Little Scholar Reading takes 4 minutes Speed reading only takes 2 minutes 1 Introduction The following C language code is very simple #include <stdio.h> int main(){ printf("Hello World!. "); return 0;} In Linux, we can compile it using the following command gcc hello.c -o hello However, as the project grows, there will inevitably be … Read more