This website requires JavaScript.
Explore
Help
Register
Sign In
lfs
/
kernel_drivers_examples
Watch
1
Star
0
Fork
0
You've already forked kernel_drivers_examples
mirror of
https://github.com/54shady/kernel_drivers_examples.git
synced
2025-08-11 23:32:00 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
36
Commits
7
Branches
0
Tags
57ae1a2d332db91c5104df89fe081ff8e1f64897
Go to file
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
zeroway
57ae1a2d33
cat info
2016-11-01 17:51:44 +00:00
apps
lcd driver test
2016-07-14 17:10:00 +00:00
debug
regulator usage
2016-11-01 17:02:45 +00:00
script
cat info
2016-11-01 17:51:44 +00:00
README.md
update readme file
2016-11-01 17:32:40 +00:00
README.md
kernel_drivers_examples
kernel 3.10.49 drivers test examples
目录说明
app 是测试驱动的应用程序
debug 是驱动模板
script 是测试脚本
使用方法
make CC=your_compiler_path KERNELDIR=your_kernel_dir
举例(以hello模块为例)
cd debug/hello
make CC=/home/zeroway/3288/src/3288_4.4/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc KERNELDIR=/home/zeroway/3288/src/3288_4.4/kernel
Description
Write Linux kernel drivers from scratch and hacking
c
kernel-debug
kernel-driver
linux
shell
Readme
7.4
MiB
Languages
C
92.1%
Makefile
7.2%
Shell
0.7%