![]() |
Exploring BeagleBone: LKMs (by Derek Molloy)
V1.0
This project describes how you can build loadable kernel modules (LKMs) on your BeagleBone platform
|
Files | |
file | gpio_test.c |
A kernel module for controlling a GPIO LED/button pair. The device mounts devices via sysfs /sys/class/gpio/gpio115 and gpio49. Therefore, this test LKM circuit assumes that an LED is attached to GPIO 49 which is on P9_23 and the button is attached to GPIO 115 on P9_27. There is no requirement for a custom overlay, as the pins are in their default mux mode states. | |