mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/mbed_overrides.c
- Revision:
- 187:0387e8f68319
- Parent:
- 181:57724642e740
- Child:
- 188:bcfe06ba3d64
--- a/targets/TARGET_STM/mbed_overrides.c Fri Jun 22 16:45:37 2018 +0100 +++ b/targets/TARGET_STM/mbed_overrides.c Thu Sep 06 13:40:20 2018 +0100 @@ -27,6 +27,8 @@ */ #include "cmsis.h" +int mbed_sdk_inited = 0; + // This function is called after RAM initialization and before main. void mbed_sdk_init() { @@ -51,4 +53,6 @@ AHB/APBx prescalers and Flash settings */ SetSysClock(); SystemCoreClockUpdate(); + + mbed_sdk_inited = 1; }