Skip to content

Commit

Permalink
MAX32690 EvKit_V1: Define default GPIO IRQs to get GPIO example working
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Aug 16, 2023
1 parent 4bb6d3a commit ef7fa54
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Libraries/Boards/MAX32690/EvKit_V1/Source/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@ __weak void GPIOWAKE_IRQHandler(void)
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO4));
}

// Default handler for generic GPIO interrupts on port 2 (used by GPIO example)
__weak void GPIO2_IRQHandler(void)
{
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO2));
}


// Default handler for generic GPIO interrupts on port 4 (used by pushbutton)
__weak void GPIO4_IRQHandler(void)
{
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO4));
}

/******************************************************************************/
int Board_Init(void)
{
Expand Down

0 comments on commit ef7fa54

Please sign in to comment.