waelkarman / bunch-linux-manifests

Bunch linux OS is a project created to fully understand the foundations of systems and applications starting from the lowest possible level. The idea is to create a fully working alternative to Raspbian OS.
https://waelkarman.github.io/bunch-linux-manifests/
1 stars 0 forks source link

DEV: Handle an interrupt on button pressed #35

Open waelkarman opened 2 months ago

waelkarman commented 2 months ago

Discussed in https://github.com/waelkarman/bunch-linux-manifests/discussions/34

Originally posted by **waelkarman** June 29, 2024 Currently, on the GPIO-18 is connected the button and a pooling service is checking it's status and send a signal through ZMQ to the sensor-app for updating the HMI. The challenge consists of avoid the pooling operation by using an interrupt to get the value of the button. - irq on dts definition - kernel patch - write a kernel and user driver to handle the signal