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

Add back GPIOMEM #227

Merged
merged 1 commit into from Mar 27, 2024
Merged

Add back GPIOMEM #227

merged 1 commit into from Mar 27, 2024

Conversation

jjcarstens
Copy link
Member

/dev/gpiomem was being used by other libraries for non-root memory access of GPIO (such as :dht). In a previous commit, this was removed as part of a different cleanup and these libs are now failing (see
62e0d10)

This adds back CONFIG_RASPBERRYPI_GPIOMEM which is also enabled for all the other raspberry pi systems

See this forum post for more info

`/dev/gpiomem` was being used by other libraries for non-root
memory access of GPIO (such as `:dht`). In a previous commit,
this was removed as part of a different cleanup and these libs
are now failing (see
[62e0d10](62e0d10#diff-9b91e2e2d7d2d703307dd4d74f2c4b93f461abe21b276e79650c714d401380bdL227))

This adds back `CONFIG_RASPBERRYPI_GPIOMEM` which is also enabled
for all the other raspberry pi systems
@fhunleth
Copy link
Member

Did you check the other 64bit Raspberry Pi's?

@jjcarstens
Copy link
Member Author

I checked rpi3, rpi3a, and rpi5 which have this config set. Looks like I may need to enable for rpi0 and rpi0_2

@fhunleth fhunleth merged commit d7a51c7 into main Mar 27, 2024
2 checks passed
@fhunleth fhunleth deleted the add-gpiomem branch March 27, 2024 23:59
@fhunleth
Copy link
Member

Thanks! I added the patch to rpi0 and rpi0_2.

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.

None yet

2 participants