Skip to content
Commit 277504cf authored by Mathieu Choplain's avatar Mathieu Choplain Committed by Carles Cufí
Browse files

soc: st: stm32wb0: support SoCs without SMPS output current limit



The STM32WB06 and STM32WB07 SoCs do not support SMPS output current limit.
This makes the LL_PWR_SetSMPSPrechargeLimitCurrent function and all the
LL_PWR_SMPS_PRECH_LIMIT_CUR_xxx defines not visible when one of these SoCs
is selected, resulting in a build failure.

Fix this by only handling SMPS current limit when the feature is available.

Signed-off-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
parent 0c131007
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment