-
Notifications
You must be signed in to change notification settings - Fork 27
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
Change use of /dev/mem to /dev/gpiomem #25
base: master
Are you sure you want to change the base?
Conversation
…rks, and we also do not need root access anymore because /dev/gpiomem access is permitted to group gpio members
added another commit which removes the unnecessary build configs and .h files ... there is now only one "raspberrypi" build target |
This is not universally supported, not all host boards have a gpiomem driver. So at the very least this change should be optional behind a flag, not changed outright. |
Ok you're right ... I will add a flag to the raspberrypi.h file and restore the stuff to the a10 and am335x |
done adding a flag for /dev/gpiomem usage |
If we use /dev/gpiomem instead of /dev/mem, we have some benefits...:
Compiling for all build configs, but I have only tested the raspberrypi4 one