diff --git a/soc/arm/st_stm32/stm32h7/soc_m7.c b/soc/arm/st_stm32/stm32h7/soc_m7.c index 7088ab48048..3486473fb35 100644 --- a/soc/arm/st_stm32/stm32h7/soc_m7.c +++ b/soc/arm/st_stm32/stm32h7/soc_m7.c @@ -88,6 +88,8 @@ static int stm32h7_init(struct device *arg) /* Power Configuration */ #ifdef SMPS LL_PWR_ConfigSupply(LL_PWR_DIRECT_SMPS_SUPPLY); +#else + LL_PWR_ConfigSupply(LL_PWR_LDO_SUPPLY); #endif LL_PWR_SetRegulVoltageScaling(LL_PWR_REGU_VOLTAGE_SCALE1); while (LL_PWR_IsActiveFlag_VOS() == 0) {