Skip to content
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

fix(Boards): Add weak definition of GPIO0 IRQ handler to MAX32665's MAXREFDES178 BSP #664

Merged
merged 2 commits into from
Jul 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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