File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4
TARGET_MTS_DRAGONFLY_F411RE Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -693,6 +693,15 @@ uint8_t SetSysClock_PLL_HSI(void)
693
693
return 1 ; // OK
694
694
}
695
695
696
+ /******************************************************************************/
697
+ /* Hard Fault Handler */
698
+ /******************************************************************************/
699
+ void HardFault_Handler (void )
700
+ {
701
+ printf ("Hard Fault\n" );
702
+ NVIC_SystemReset ();
703
+ }
704
+
696
705
/**
697
706
* @}
698
707
*/
Original file line number Diff line number Diff line change @@ -694,6 +694,15 @@ uint8_t SetSysClock_PLL_HSI(void)
694
694
return 1 ; // OK
695
695
}
696
696
697
+ /******************************************************************************/
698
+ /* Hard Fault Handler */
699
+ /******************************************************************************/
700
+ void HardFault_Handler (void )
701
+ {
702
+ printf ("Hard Fault\n" );
703
+ NVIC_SystemReset ();
704
+ }
705
+
697
706
/**
698
707
* @}
699
708
*/
You can’t perform that action at this time.
0 commit comments