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

rpi-tools: add gpiod support #9591

Open
wants to merge 2 commits into
base: libreelec-12.0
Choose a base branch
from

Conversation

HungerHa
Copy link

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
PKG_ARCH="arm aarch64"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="https://pypi.org/project/gpiod/"
PKG_URL="https://files.pythonhosted.org/packages/5a/be/9876843be7d8d3e05582de8919077b9084beac5d9791b139653e3048e4fd/gpiod-${PKG_VERSION}.tar.gz"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Your advice is very welcome. I was looking for a more general URL without the hash value of a CDN. Do you know the pattern from the past or is there an overview I missed?

@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.

- URL changed to be more generic
@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.

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