# DriverPractice **Repository Path**: pomimi/DriverPractice ## Basic Information - **Project Name**: DriverPractice - **Description**: DriverPractice是一个精心设计的Linux驱动开发学习项目,它涵盖了Linux驱动开发的核心知识点和常用技术,并通过一系列循序渐进的实践案例,帮助你从入门到精通。项目代码简洁易懂,注释清晰明了,即使是Linux驱动开发的初学者也能轻松上手。它并非仅仅是一个代码仓库,更是驱动开发学习的宝贵指南。 - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-11-16 - **Last Updated**: 2025-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Linux Driver Practices This is reference from [動手寫 Linux Driver](http://blog.logan.tw/2013/01/linux-driver.html) ## Environment Preparation You may use Git to clone the repository, toolchain to build the codes. If you develope for the embedded system, you may need the Device Tree Compiler (DTC). ### Archlinux 1. Install development tools ```sh pacman -S git pacman -S make gcc ``` 2. Install the Linux kernel headers. It depends on the environment. * x86 series ``` pacman -S linux-headers ``` * ARMv7 series ``` linux-armv7-headers ``` * Even by the board ... 3. Install the Device Tree Compiler (DTC) ```sh pacman -S dtc ```