Unlocking New Frontiers in Embedded Development: A Complete Guide to RT-Thread C Language

Unlocking New Frontiers in Embedded Development: A Complete Guide to RT-Thread C Language

Source: One Linux Introduction RT-Thread is an open-source real-time operating system (RTOS) developed by the Chinese open-source community, widely popular in the embedded development field due to its high scalability, lightweight kernel, and rich component ecosystem. Whether running on resource-constrained ARM Cortex-M0 or feature-rich high-performance Cortex-A processors, RT-Thread provides a stable and efficient operating environment. … Read more

Linux Kernel Character Module (Part II)

Linux Kernel Character Module (Part II)

Linux Kernel Character Module (Part II) 1. Registering Device Numbers In the Linux kernel, device numbers are the core identifiers for character devices and block devices, consisting of a major device number and a minor device number. Device number management is fundamental to driver development, and below I will analyze the Linux device number registration … Read more

Comparative Analysis of BSP Development between VxWorks and Linux

Comparative Analysis of BSP Development between VxWorks and Linux

Comparative Analysis of BSP Development between VxWorks and Linux As embedded systems become increasingly complex, the demand for real-time performance and heterogeneous hardware support continues to grow. The choice of operating system becomes particularly critical, especially in low-level integration work such as BSP (Board Support Package). This article will delve into a comparison of two … Read more

Essential Kernel Course for BSP Engineers: 2.2. A Comprehensive Guide to Compiling and Running Kernel Modules

Essential Kernel Course for BSP Engineers: 2.2. A Comprehensive Guide to Compiling and Running Kernel Modules

This section demonstrates how to compile a kernel module into the kernel using the Linux Kernel Build system, as well as how to load and unload kernel modules. To maintain the flow, this section will focus on demonstrating the overall operation process, while the details and principles will be elaborated in later sections. As introduced … Read more

Introduction to Linux Character Device Drivers (Part 0) – Overview of Linux Drivers

Introduction to Linux Character Device Drivers (Part 0) - Overview of Linux Drivers

Video Collection (Introduction to Linux Character Device Drivers) 1 Linux Kernel Source Website www.kernel.org 2 Types of Drivers a Character Drivers b Block Drivers c Network Drivers 3 System Boot Process 1 U-Boot Boot 2 Kernel Boot 3 File System Boot 4 Differences Between Static and Dynamic Driver Loading: 1 Different Compilation Options y Driver … Read more

Ubuntu – Software Center and Device Drivers

Ubuntu - Software Center and Device Drivers

Device Drivers By default, Ubuntu comes pre-installed with the necessary drivers for mouse, keyboard, audio, and video. The days when device drivers were a nightmare for Linux-based operating systems are long gone. To view device options, go to the settings option on the left control panel. In the hardware section, you will see various options … Read more

Analysis of the Applications and Advantages of C Language in System Programming

Analysis of the Applications and Advantages of C Language in System Programming

Analysis of the Applications and Advantages of C Language in System Programming The C language is a general-purpose programming language widely used in the field of system programming. Its design intention is to provide an efficient, flexible, and hardware-near programming method, allowing programmers to directly manipulate computer hardware resources. This article will detail the applications … Read more

Understanding PID: An Introduction to Motors and Drivers

Understanding PID: An Introduction to Motors and Drivers

When learning and using PID, there are many motor options available. However, the PID parameters used for different motors can vary significantly. Therefore, we need to understand motors and drivers. 1 Types of Motors 1.1 Introduction to Motors A motor is a device that can convert electrical energy into mechanical energy and vice versa. Generators … Read more

Windows PCI Device Driver Development Guide: Introduction to Driver Template Code

Windows PCI Device Driver Development Guide: Introduction to Driver Template Code

In the previous article, we introduced how to “write” a Windows PCI device driver from scratch. The term “write” is in quotes because we didn’t actually write any code; the driver code was generated using the KMDF template in Visual Studio. In this article, we will introduce the generated driver code. The first function to … Read more