-
Notifications
You must be signed in to change notification settings - Fork 110
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
[RSDK-2782] Remove Periph GPIO from genericlinux boards #2603
Conversation
…ng periph for gpio
cancelFunc: cancelFunc, | ||
|
||
spis: map[string]*spiBus{}, | ||
analogs: map[string]*wrappedAnalog{}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current diff makes this confusing because gofmt
adjusted the whitespace. I've removed usePeriphGpio
, pwms
, and the comment just above pwms
. The rest are unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's hardware test this on a few boards to make sure everything is happy, the rest of my comments are nits.
Code Coverage
|
…#2603) The only board that was still using this was the nanopi, which has been relegated over to https://github.com/viam-labs/periph_board. I believe the only folks using that board were Peter L and Bee Ring, who already know about this change, and it has always been marked as experimental and not guaranteed to work.
The only board that was still using this was the nanopi, which has been relegated over to https://github.com/viam-labs/periph_board. I believe the only folks using that board were @biotinker and Bee Ring, but I should do some more diligence on whether that's still true, because this is a breaking change.
I should thoroughly test this on some kind of Jetson, a BeagleBone AI-64, and maybe an Orange Pi 2 (for @natalieh235's work). Most of that will happen next week, but in the meantime the code is approximately ready for review.