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
2026-01-29 12:04:10 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
44
Commits
7
Branches
0
Tags
f8b67d587f6ff3099f3f2ae9fa98a5387ffe433a
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
f8b67d587f
act8846 regulator resource
2016-11-03 11:48:40 +00:00
apps
lcd driver test
2016-07-14 17:10:00 +00:00
debug
act8846 regulator resource
2016-11-03 11:48:40 +00:00
script
cat info
2016-11-01 17:51:44 +00:00
README.md
update readme file
2016-11-01 17:56:16 +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%