linkjumper/drivertemplate
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Kernel-Module template #2017-03-16 add proc file example #2017-03-14 add irq examples #2017-03-08 add ioctl example (seperate folder) #2017-03-07 add working example for template driver module build info: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KDIR=/home/$USER/raspberrypi/linux/ working example for v0.2 sudo insmod mod.ko cat /dev/template new tab: echo "whatever you wanna write" > /dev/template