We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63b33b8 commit 5a578a8Copy full SHA for 5a578a8
targets/TARGET_STM/mbed_overrides.c
@@ -252,6 +252,7 @@ void mbed_sdk_init()
252
SetSysClock();
253
SystemCoreClockUpdate();
254
255
+#ifndef CM4_BOOT_BY_APPLICATION
256
/* Check wether CM4 boot in parallel with CM7. If CM4 was gated but CM7 trigger the CM4 boot. No need to wait for synchronization.
257
otherwise CM7 should wakeup CM4 when system clocks initialization is done. */
258
if (READ_BIT(SYSCFG->UR1, SYSCFG_UR1_BCM4)) {
@@ -263,6 +264,7 @@ void mbed_sdk_init()
263
264
}
265
/* wait until CPU2 wakes up from stop mode */
266
while (LL_RCC_D2CK_IsReady() == 0);
267
+#endif /* CM4_BOOT_BY_APPLICATION */
268
#endif /* CORE_M4 */
269
270
#else /* Single core */
0 commit comments