Skip to content

Commit 0feda6e

Browse files
ozersamathias-arm
authored andcommitted
Disable Reset pin interrupt - Fix for old bootloader firmware (#879)
Signed-off-by: Sadik.Ozer <[email protected]>
1 parent cf95cd6 commit 0feda6e

File tree

1 file changed

+4
-0
lines changed
  • source/hic_hal/maxim/max32625

1 file changed

+4
-0
lines changed

source/hic_hal/maxim/max32625/gpio.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ void gpio_init(void)
236236
target_set_interface(IO_SWD_EXT);
237237
}
238238
#endif
239+
240+
// Disable Reset pin interrupt - Fix for old bootloader firmware
241+
MXC_GPIO->inten[PIN_RESET_IN_NO_FWRD_PORT] &= ~(1 << PIN_RESET_IN_NO_FWRD_PIN);
242+
NVIC_DisableIRQ(GPIO_P2_IRQn);
239243
}
240244

241245
/******************************************************************************/

0 commit comments

Comments
 (0)