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

Is OPi Lite 2 being support yet? #37

Open
Hazeline2018 opened this issue Jan 26, 2019 · 4 comments
Open

Is OPi Lite 2 being support yet? #37

Hazeline2018 opened this issue Jan 26, 2019 · 4 comments

Comments

@Hazeline2018
Copy link

Hi, I'm working on OPi Lite 2 board and came across this page for porting RPi.GPIO lib into OPi board. Is anyone working on getting Lite 2 board supported by this drop-in lib yet? If yes, I might want to give it a try.
thanks,!

@rm-hull
Copy link
Owner

rm-hull commented Jan 29, 2019

If you can supply the correct mappings for the OPi Lite 2 SBC, then please do so. See one of the existing PRs for guidance on what you need to do, e.g.: https://github.com/rm-hull/OPi.GPIO/pull/30/files

@Hazeline2018
Copy link
Author

okay, once I test out working, will upload

@Hazeline2018
Copy link
Author

I've created this pin mapping table for lite2 board. But still confused about this BCM mapping. I understand that's the actual GPIO pin mapping to the actual BCM SoC pins. However, for OPi, it's not using BRCM SoC, instead, Allwinner H* chips. How should I map GPIO pins to BCM? If I'm just going to use Board mode or even this SUNXI mapping mode, can I just ignore BCM mapping?

@Hazeline2018
Copy link
Author

I also realized that if I'm to use SUNXI mapping, which is really just a simple calc based on the GPIO name and much less confusing IMO, there is no need to create such a board or BCM mapping table anymore because all H* chips GPIO follow the same formula. And I can just simple install this module and use as is. Is this really true?

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

No branches or pull requests

2 participants