-
Notifications
You must be signed in to change notification settings - Fork 3k
LPC546XX: Add check for GPIO IRQ #6735
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
Conversation
GPIO IRQ is available on pins for Ports 0 & 1. Add a check to return error for other ports. Signed-off-by: Mahesh Mahadevan <[email protected]>
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.
Looks reasonable to me.
@@ -25,6 +25,8 @@ | |||
#include "fsl_pint.h" | |||
#include "mbed_error.h" | |||
|
|||
#define INTERRUPT_PORTS 2 |
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.
I suppose all LPC targets only have two ports that are interruptible?
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.
Yes.
/morph build |
Build : SUCCESSBuild number : 1845 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1491 |
Test : SUCCESSBuild number : 1654 |
Description
GPIO IRQ is available on pins for Ports 0 & 1. Add a check to return error for other ports.
PR type