commit | 277504cfbc08e5be3260c5f22aca922aa1581772 | [log] [tgz] |
---|---|---|
author | Mathieu Choplain <mathieu.choplain@st.com> | Thu Sep 12 14:12:56 2024 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Sep 16 20:17:50 2024 +0200 |
tree | d0703dfa4662855e55b4a9fbf609e0a18ca0da63 | |
parent | 0c13100797249ddac443e8c8d8a5ed19b48d4768 [diff] |
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: Mathieu Choplain <mathieu.choplain@st.com>