Skip to content

Commit b4c1dc6

Browse files
erwangokartben
authored andcommitted
soc: stm32h7r/s: smps is supported on all SoCs
Remove the sanity check between Cube HAL SMPS symbol and Kconfig SMPS configuration. SMPS is available on all STM32H7R/S SoC, so misalignment isn't possible. Additionally, point to the hal commit which revert the fix which was done on hal_stm32 to add this symbol. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent c8742a3 commit b4c1dc6

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

soc/st/stm32/stm32h7rsx/soc.c

-10
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,6 @@ void soc_early_init_hook(void)
3636
SystemCoreClock = 64000000;
3737

3838
/* Power Configuration */
39-
#if !defined(SMPS) && \
40-
(defined(CONFIG_POWER_SUPPLY_DIRECT_SMPS) || \
41-
defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_LDO) || \
42-
defined(CONFIG_POWER_SUPPLY_SMPS_2V5_SUPPLIES_LDO) || \
43-
defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_EXT_AND_LDO) || \
44-
defined(CONFIG_POWER_SUPPLY_SMPS_2V5_SUPPLIES_EXT_AND_LDO) || \
45-
defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_EXT) || \
46-
defined(CONFIG_POWER_SUPPLY_SMPS_2V5_SUPPLIES_EXT))
47-
#error Unsupported configuration: Selected SoC do not support SMPS
48-
#endif
4939
#if defined(CONFIG_POWER_SUPPLY_DIRECT_SMPS)
5040
LL_PWR_ConfigSupply(LL_PWR_DIRECT_SMPS_SUPPLY);
5141
#elif defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_LDO)

west.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ manifest:
243243
groups:
244244
- hal
245245
- name: hal_stm32
246-
revision: f467d8e039216b4f5f9b55dd8a1ffa8582fc516d
246+
revision: c17bcab857dbf2ec3100b2d0c3123957fcd42e78
247247
path: modules/hal/stm32
248248
groups:
249249
- hal

0 commit comments

Comments
 (0)