Modified for BG96
Fork of mbed-dev by
Diff: targets/TARGET_STM/mbed_overrides.c
- Revision:
- 187:0387e8f68319
- Parent:
- 181:57724642e740
--- 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; }