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 62e5515 commit 094ccdbCopy full SHA for 094ccdb
targets/TARGET_STM/mbed_overrides.c
@@ -129,11 +129,11 @@ void mbed_sdk_init()
129
LL_HSEM_1StepLock(HSEM, CFG_HW_STOP_MODE_SEMID);
130
/*Release HSEM in order to notify the CPU2(CM4)*/
131
LL_HSEM_ReleaseLock(HSEM, CFG_HW_STOP_MODE_SEMID, 0);
132
+ /* wait until CPU2 wakes up from stop mode */
133
+ while (LL_RCC_D2CK_IsReady() == 0);
134
} else {
- LL_RCC_ForceCM4Boot();
135
+ //LL_RCC_ForceCM4Boot();
136
}
- /* wait until CPU2 wakes up from stop mode */
- while (LL_RCC_D2CK_IsReady() == 0);
137
#endif /* CORE_M4 */
138
#else /* Single core */
139
// Update the SystemCoreClock variable.
0 commit comments