Pi4J / pi4j-v2

Pi4J Version 2.0
Apache License 2.0
273 stars 57 forks source link

Feature/gpiod #322

Closed alex9849 closed 8 months ago

alex9849 commented 8 months ago

This pull requests enables Pi4j to take advantage of the GpioD library, that gets developed together with the linux kernel.

Contents:

I'm not sure if this will immediately compile in your CI/CD pipeline. It might miss some dependencies that are needed to build the JNI library for gpiod. These are required packets: https://github.com/Pi4J/pi4j-v2/blob/501a50f1594a9bae2ea2cd794d6998db8d801faf/libraries/pi4j-library-gpiod/src/main/native/build-prerequisites.sh

Closes #321

alex9849 commented 8 months ago

Here the PR for the builder: https://github.com/Pi4J/pi4j-docker/pull/2

alex9849 commented 8 months ago

@FDelporte I applied the review comments.