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

3923 fix gpio support on pi 5 #3924

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Conversation

Alex-developer
Copy link
Collaborator

Fixes gpio control on the pi 5.

Tested on the pi4 and 5 using kernels 6.6.31 and 6.6.51

If a pi 5 is detected the lgpio is installed. adafruit-blinka is supposed to install the correct library but its doesnt seem to do so. IF adafruit fix this then we can revert this fix.

The code uses gpiozero to detect the pi version as this decodes the pi revision number so can detect all future versions of the pi 5 as well.

@EricClaeys EricClaeys merged commit 89fc68f into v2024.xx.xx Oct 28, 2024
1 check passed
@Alex-developer Alex-developer deleted the 3923-fix-gpio-support-on-pi-5 branch December 6, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants