Controlling Exported Functions in Linux Shared Libraries

Click the blue text above to follow directly! Convenient for next reading. If this helps you, please give it a thumbs up or a like, thank you~ Article First Published Official Account – Pou Guangming On the third day of diligently working on a business trip in Shanghai…… The previous article introduced the rules for … Read more

The Relationship Between Makefile, Kconfig, and .config in Linux Kernel

The Relationship Between Makefile, Kconfig, and .config in Linux Kernel

When compiling the Linux kernel, we often execute some commands in the top-level directory of the Linux kernel. Taking RK3288 as an example, commands such as: make firefly-rk3288-linux_defconfig, make menuconfig, make firefly-rk3288.img, make zImage, etc. are used. Without getting into the specifics of these commands, let’s raise a few questions. (1) Given the vastness of … Read more

Efficiently Manage Linux Projects with Makefile

Efficiently Manage Linux Projects with Makefile

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group of 1000 people, note “public account” for faster approval Basic Structure A simple Makefile usually includes the following parts: Variable Definitions: You can define compilers, compilation options, source files, etc. Rules: Specify how to build targets. The … Read more

Essential Makefile Guide: Step-by-Step Project Compilation!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇1000 people technical exchange QQ group, note 【public number】 for faster access 1. Basic Structure of Makefile The Makefile contains a series of “rules”, with the basic structure of each rule as follows: target…: prerequisites… <tab> command Target(target): usually the name of the file … Read more

Linux System Programming: Creating and Using Static Libraries

Click the above“Mechanical and Electronic Engineering Technology” to follow us In Linux system programming, a Static Library is a compiled code library that contains a collection of multiple compilation units (such as functions and data) that can be shared by multiple programs. Static libraries typically have the file extension .a. Creating a Static Library Compile … Read more

Linux System Programming: Creating and Using Dynamic Libraries

Click the above“Mechanical and Electronic Engineering Technology” to follow us In Linux system programming, a dynamic library (Dynamic Library) is also known as a shared library (Shared Library), which is a library that is loaded only when the program runs. Dynamic libraries can be shared by multiple programs, saving memory and disk space, and making … Read more

Installing Software Tools on Linux: Using Vim and GCC

Installing Software Tools on Linux: Using Vim and GCC

Linux | Red Hat Certification | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with 1000 members Note: 【Public Account】 for quicker access 1. Ways to Install Software on Linux Source Code Installation RPM Installation — Linux Package YUM Installation (best option, can resolve installation sources, versions, and dependency issues) ping … Read more

Virtual Serial Port Driver in Linux (Part 1)

Virtual Serial Port Driver in Linux (Part 1)

Introduction Recently, I prepared to implement a virtual serial port driver in Linux; however, since graduation, I have been engaged in bare-metal driver development, and thus I have gradually forgotten about device drivers in Linux. To achieve this functionality, I have searched for a lot of information online, but most of it only explains the … Read more

Virtual Serial Port Driver in Linux (Part 2)

Virtual Serial Port Driver in Linux (Part 2)

Introduction In the previous article, we briefly introduced the difference between bare-metal drivers and device drivers, as well as the driver architecture of character devices in the Linux kernel. Without an operating system, upper-layer applications directly access the driver interface, and application engineers need to know the driver interface for each device. When accessing Flash, … Read more

Embedded Assembly Language Learning Experience

Embedded Assembly Language Learning Experience

Electronics Competition Group: 5-year Electronic Design Competition D Topic 481123148; 15-year Electronic Design Competition E Topic 481123833; 15-year Electronic Design Competition F Topic 73646017; 15-year Electronic Design Competition G Topic 45169719; 15-year Electronic Design Competition H Topic 16986998; 15-year Electronic Design Competition I Topic 80699535; 15-year Electronic Design Competition J Topic 475528830; The first problem … Read more