Skip to content

Commit

Permalink
Adding weak definition of GPIO0 handler to MAX32666's MAXREFDES178 BSP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Scheiffler committed Jul 13, 2023
1 parent d8665b3 commit cd22eaa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Libraries/Boards/MAX32665/MAXREFDES178/Source/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ __weak void GPIO1_IRQHandler(void)
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO1));
}

/******************************************************************************/
/**
* NOTE: This is a legacy definition from the previous implementation of pb.c. This
* definition will prevent the MAXREFDES178 from hanging until a permanent fix
* is added to the MaximIntegratedAI/refdes github repository.
**/
__weak void GPIO0_IRQHandler(void)
{
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO0));
}

/******************************************************************************/
static int ext_flash_board_init(void)
{
Expand Down

0 comments on commit cd22eaa

Please sign in to comment.