mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/system_clock.c
- Revision:
- 173:e131a1973e81
- Parent:
- 168:9672193075cf
- Child:
- 175:af195413fb11
--- a/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/system_clock.c Thu Aug 31 17:27:04 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device/system_clock.c Fri Sep 15 14:59:18 2017 +0100 @@ -240,6 +240,8 @@ /******************************************************************************/ void HardFault_Handler(void) { +#if !defined(NDEBUG) || NDEBUG == 0 printf("Hard Fault\n"); +#endif NVIC_SystemReset(); }