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

Zero sized pin #79

Open
peckpeck opened this issue Apr 1, 2021 · 1 comment
Open

Zero sized pin #79

peckpeck opened this issue Apr 1, 2021 · 1 comment

Comments

@peckpeck
Copy link

peckpeck commented Apr 1, 2021

Hi,
This is not really an issue.

I recently came across https://www.ecorax.net/macro-bunker-1/ that explains how to implement zero sized gpio and pin.
Not that we are especially memory constrained on the raspberry, but this is interesting and looks rusty.

Do you think it would be interesting to implement in rppal ? Knowing that it would surely change many types.
Regards

@golemparts
Copy link
Owner

That's an interesting article. I appreciate their rusty approach. The compile-time guarantees might be a challenge due to the hardware differences between the various Pi models, and configuration changes that could occur afterwards, but I do like their zero sized pins, which feel cleaner than the current implementation. That's definitely something to look into. Thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Feature requests
  
Awaiting triage
Development

No branches or pull requests

2 participants