mirror of https://github.com/ARMmbed/mbed-os.git
add hard fault handlers for MultiTech mDot and Dragonfly platforms
parent
6bd3caa968
commit
ba2a974fd1
|
@ -693,6 +693,15 @@ uint8_t SetSysClock_PLL_HSI(void)
|
|||
return 1; // OK
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/* Hard Fault Handler */
|
||||
/******************************************************************************/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
printf("Hard Fault\n");
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -694,6 +694,15 @@ uint8_t SetSysClock_PLL_HSI(void)
|
|||
return 1; // OK
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/* Hard Fault Handler */
|
||||
/******************************************************************************/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
printf("Hard Fault\n");
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue