Makefile: Why Modifying Only the .h Header File Doesn’t Work During Compilation?

Makefile: Why Modifying Only the .h Header File Doesn't Work During Compilation?

Have you ever encountered a situation like this: A .c file includes another .h header file, using a Makefile to build (compile) the application. The first time you compile and execute, everything works fine! However, if you modify the .h header file and try to compile again, issues arise: The expected execution flow is: make … Read more

Understanding the Compilation Process of GCC

Understanding the Compilation Process of GCC

The compilation process of GCC mainly includes four stages: preprocessing, compilation, assembly, and linking. During this process, three tools are used: cc1, as, and collect2. Among them, cc1 is the compiler corresponding to the first and second stages, used to compile the source file hello.c into hello.s; as is the assembler corresponding to the third … Read more

GESP Level 3 C++ Conversion Problems – luogu-B3926 [GESP202312 Level 3]

GESP Level 3 C++ Conversion Problems - luogu-B3926 [GESP202312 Level 3]

GESP Level 3 exam questions, string-related problems, difficulty ★★☆☆☆. luogu-B3926 [GESP202312 Level 3] Unit Conversion Problem Requirements Problem Description Little Yang’s math homework this week is to perform unit conversions. As someone who enjoys programming, Little Yang decided to write a program to help him solve these problems. Little Yang has only learned about length … Read more

C++ Structural Design Patterns: Adapter Pattern

C++ Structural Design Patterns: Adapter Pattern

Old Zhou talks about coding, the flowers fall under the keyboard; each line weaves a dream across the galaxy, poetry and coding nurture a clear virtue. I am Old Zhou! Follow the “Old Zhou Talks Code” public account for more selected content!┉ ∞ Concept ∞ ┉ Basic Concept: The adapter pattern converts the interface of … Read more

Essential Linux Commands for Embedded Development

Essential Linux Commands for Embedded Development

w- Displays the currently logged-in user information in the system. ab- Apache server performance testing tool. ld- Links object files to create an executable program. xz- A tool for POSIX platform development with high compression rates. ln- Used to create links for files. ar- Creates or modifies archive files, or extracts from archive files. fg- … Read more

IoT Project Practical Tutorial – WiFi Weather Clock

IoT Project Practical Tutorial - WiFi Weather Clock

WiFi Weather ClockWiFi Weather ClockProject Overview The WiFi Weather Clock: This project is made using the ESP32 and ST7789-LCD color screen, capable of displaying real-time time, weather, temperature and humidity, air quality index, wind speed, wind direction, etc. The center of the screen can also display an animation, and by long-pressing a button, different animation … Read more

Arduino GFX: A Powerful Tool for Creating Stunning Graphical Interfaces

Arduino GFX: A Powerful Tool for Creating Stunning Graphical Interfaces

Arduino GFX is a powerful Arduino graphics library that supports various types of displays and data bus interfaces, injecting endless possibilities into your Arduino projects. Flexible Compatibility Arduino GFX is not built from scratch; it incorporates the essence of several well-known graphics libraries such as Adafruit_GFX, LovyanGFX, TFT_eSPI, and Ucglib, and improves and expands upon … Read more

Zheng Junjie: Building Free Software on Open Hardware

Zheng Junjie: Building Free Software on Open Hardware

“I like technologies that are not easily replaceable, technologies that can still be used in the future, 20 years from now, that are simple and reasonable.” This simple technical declaration marks the starting point of Zheng Junjie’s journey into the open-source world and defines the direction of his subsequent explorations. Zheng Junjie’s Linux journey began … Read more

Features and Application Scenarios of Renesas RA2L2

Features and Application Scenarios of Renesas RA2L2

1 Introduction to RA2L2 Product Features 110-nm low power process 48MHz Arm®Cortex®-M23 core Up to 128KB flash, 16KB SRAM, 4KB data flash 32pin to 64pin, LQFP, QFN packages Diverse interfaces such as USBFS, I3C, SSI, LPUART, and CAN 16-bit & 32-bit GPT, 32-bit LPAGT, RTC Operating temperature range: Ta=-40°C~125°C Wide operating voltage range: 1.6V-5.5V Security … Read more