-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Nxp Gpio update to use a standard interface and enable interrupts #1511
Nxp Gpio update to use a standard interface and enable interrupts #1511
Conversation
Hi @AdrianSoundy, I'm nanoFramework bot. A human will be reviewing it shortly. 😉 |
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.
LGTM!
@MateuszKlatecki care to take a look please?
In the Debug version, the outputs work. Input reading also works. |
@MateuszKlatecki thank for testing this. Any chance you can look into adding those missing configurations for the interrupts? 😁 The same goes for the hard fault. Considering that you're the only one with that board and that it's impossible to even start debugging that hard fault without actually running it on the hardware... 😉 |
NOTE: GPIO2_Compined_16_31_IRQHandler is used to SDCard detect - needs refactor
…tion to the wrong one (in the method SetDriveMode) - fixed
Gpio fixes after review/testing
Are we OK with this? |
@MateuszKlatecki waiting for your approval 😉 |
Yes ok now. Issue was GLobal_Lock fixed in PR #1518 |
Description
This is the changed low level GPIO driver for the NXP target.
Ported existing code to new layout and added the handling for interrupts.
How Has This Been Tested?
This hasn't been tested on a target board
Some methods for saving/finding/deleting gpio state information have been unit tested in a different environment so hopefully ok.
Types of changes
Checklist:
Signed-off-by: adriansoundy adriansoundy@gmail.com