kopia lustrzana https://github.com/micropython/micropython
stm32/powerctrl: Enable overdrive on F7 when waking from stop mode.
Because if the SYSCLK is set to 180MHz or higher it will require this to be on already.pull/5598/head
rodzic
29b84ea798
commit
68db7e01d8
|
@ -381,6 +381,11 @@ void powerctrl_enter_stop_mode(void) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(STM32F7)
|
||||
// Enable overdrive to reach 216MHz (if needed)
|
||||
HAL_PWREx_EnableOverDrive();
|
||||
#endif
|
||||
|
||||
// enable PLL
|
||||
__HAL_RCC_PLL_ENABLE();
|
||||
while (!__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY)) {
|
||||
|
|
Ładowanie…
Reference in New Issue