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 support for generic hardware #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

evgeny-boger
Copy link

It's essentially does the following:

  1. Tests if gpio-admin is available. If it's not the case use direct export/unexport via sysfs instead.
  2. Correctly handle GPIOs without interrupt support
  3. Adds pins_linux pinbank which is essentially the same as pins_broadcom_soc

I didn't tested it on Pi since I haven't got one but it should work there as before.

2) Use /sys/class/gpio if /sys/devices/virtual/gpio is not available
3) Correctly handle GPIOs without interrupt support
4) Add pins_linux pin bank for direct GPIO access
This reverts commit c58dc0c.
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.

1 participant