Let's code a Linux Driver: 3 - Use GPIO pins in a Linux Driver
Автор: Johannes 4GNU_Linux
Загружено: 2024-11-24
Просмотров: 17416
Описание:
#GNU #Linux #Tutorial #Driver #DriverDevelopment
Let's leave userspace and head towards Kernelspace!
In this series of videos I will show you how to write your own Linux Driver. The purpose of a driver is to access hardware, so let's do so today. I will show you an easy way how to access GPIO pins from a kernel module. But be aware, the way I am getting the pins is not the best. On ARM based systems you would use the device tree for adding GPIOs (which I will show you in later episodes). But the functions I am using for setting the GPIO pins direction and setting and getting their value will be the same as if the pins where added over a device in the device tree.
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes...
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
Here is the link to my git-repo:
https://github.com/Johannes4Linux/Lin...
You want to learn more? Check out my playlist:
• Let's code a Linux Driver - 0: Introductio...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: