Skip to content

Commit 0183e75

Browse files
committed
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 00cc444 commit 0183e75

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

soc/st/stm32/stm32h7rsx/soc.c

Lines changed: 0 additions & 10 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ manifest:
238238
groups:
239239
- hal
240240
- name: hal_stm32
241-
revision: def7e1a025877a35d070439e70668f5ec319c32e
241+
revision: pull/271/head
242242
path: modules/hal/stm32
243243
groups:
244244
- hal

0 commit comments

Comments
 (0)