nerves-project / nerves_system_rpi4

Base Nerves system configuration for the Raspberry Pi 4
Apache License 2.0
91 stars 49 forks source link

Add back `GPIOMEM` #227

Closed jjcarstens closed 8 months ago

jjcarstens commented 8 months ago

/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

fhunleth commented 8 months ago

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

jjcarstens commented 8 months ago

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

fhunleth commented 8 months ago

Thanks! I added the patch to rpi0 and rpi0_2.