Skip to content

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

Merged
chewitt merged 1 commit into
LibreELEC:libreelec-12.0from
HungerHa:le12-rpi-tools-gpiod
Jan 4, 2025
Merged

chewitt merged 1 commit into
LibreELEC:libreelec-12.0from
HungerHa:le12-rpi-tools-gpiod

Conversation

@HungerHa

@HungerHa HungerHa commented Dec 18, 2024 •

Copy link
Copy Markdown
Contributor

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
Comment thread packages/addons/addon-depends/rpi-tools-depends/gpiod/package.mk Outdated
Comment thread packages/addons/addon-depends/rpi-tools-depends/gpiod/package.mk Outdated
@chewitt

chewitt commented Dec 19, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor 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

chewitt commented Dec 19, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor 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.

@chewitt
chewitt merged commit 6b3b46b into LibreELEC:libreelec-12.0 Jan 4, 2025
@HungerHa
HungerHa deleted the le12-rpi-tools-gpiod branch March 27, 2025 16:10
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