Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[le12] rpi-tools: backport of PR9592 - add gpiod support #9591

Open
wants to merge 1 commit into
base: libreelec-12.0
Choose a base branch
from

Conversation

HungerHa
Copy link

@HungerHa HungerHa commented Dec 18, 2024

EDIT: This is the backport of #9592 for LibreELEC 12

gpiod are the official Python bindings for libgpiod. libgpiod is already part of the system tools add-on, only these Python bindings are currently missing to be able to use it in Python scripts.

lgpio and gpiozero are easier to use, but currently have some insurmountable problems, as I have tried to explain here:

Feature request: RPi-Tools with official Python bindings for libgpiod

@HungerHa HungerHa changed the base branch from master to libreelec-12.0 December 18, 2024 19:07
@chewitt
Copy link
Member

chewitt commented Dec 19, 2024

NB: This should be submitted to master branch first, and then submitted as a backport to libreelec-12.0 branch; either in parallel or after successful merge to master.

@HungerHa
Copy link
Author

NB: This should be submitted to master branch first, and then submitted as a backport to libreelec-12.0 branch; either in parallel or after successful merge to master.

I will prepare a second PR for the master branch and would leave this one open for a subsequent backport to LE12.

@HungerHa HungerHa changed the title rpi-tools: add gpiod support [le12] rpi-tools: backport add gpiod support Dec 19, 2024
@HungerHa HungerHa changed the title [le12] rpi-tools: backport add gpiod support [le12] rpi-tools: backport of PR9592 - add gpiod support Dec 19, 2024
@chewitt
Copy link
Member

chewitt commented Dec 19, 2024

I will prepare a second PR for the master branch and would leave this one open for a subsequent backport to LE12.

Please squash the commits here. Thanks.

@HungerHa HungerHa force-pushed the le12-rpi-tools-gpiod branch from c91e7e5 to 3286bb4 Compare December 19, 2024 18:58
@HungerHa
Copy link
Author

Please squash the commits here. Thanks.

You are welcome. Because I used it too infrequently before, it felt like open heart surgery, but now it's squashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants