Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Revision 95:75b7d1f8d36d, committed 2016-03-18
- Comitter:
- mbed_official
- Date:
- Fri Mar 18 08:30:10 2016 +0000
- Parent:
- 94:17550cbf442f
- Child:
- 96:12647ac05603
- Commit message:
- Synchronized with git revision 1f340445d5333b485923beb9a7216fc54a8efeb4
Full URL: https://github.com/mbedmicro/mbed/commit/1f340445d5333b485923beb9a7216fc54a8efeb4/
add hard fault handlers for MultiTech mDot and Dragonfly platforms
Changed in this revision
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.c Thu Mar 17 15:45:19 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.c Fri Mar 18 08:30:10 2016 +0000
@@ -693,6 +693,15 @@
return 1; // OK
}
+/******************************************************************************/
+/* Hard Fault Handler */
+/******************************************************************************/
+void HardFault_Handler(void)
+{
+ printf("Hard Fault\n");
+ NVIC_SystemReset();
+}
+
/**
* @}
*/
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.c Thu Mar 17 15:45:19 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.c Fri Mar 18 08:30:10 2016 +0000
@@ -694,6 +694,15 @@
return 1; // OK
}
+/******************************************************************************/
+/* Hard Fault Handler */
+/******************************************************************************/
+void HardFault_Handler(void)
+{
+ printf("Hard Fault\n");
+ NVIC_SystemReset();
+}
+
/**
* @}
*/
