xiaoxiang781216 commented on code in PR #12394:
URL: https://github.com/apache/nuttx/pull/12394#discussion_r1625687533
##########
arch/arm/src/stm32h7/Kconfig:
##########
@@ -284,11 +284,23 @@ config STM32H7_HAVE_SMPS
bool
default n
-config STM32H7_PWR_DIRECT_SMPS_SUPPLY
- bool "Use direct SMPS supply mode"
+choice
+ prompt "STM32 H7 Power Supply Selection"
+ default STM32H7_PWR_DIRECT_SMPS_SUPPLY
depends on STM32H7_HAVE_SMPS
+ ---help---
+ The STM32H7x5 and STM32H7x7 support power supply configrations for
the VCORE core domain and an external supply,
+ by configuring the SMPS step-down converter and voltage regulator.
+ Note:The SMPS step-down converter is not available on all packages.
+
+ Currenlty the only supported modes are Direct SMPS supply and LDO
supply.
+
+config STM32H7_PWR_LDO_SUPPLY
+ bool "Use LDO supply mode"
default n
+endchoice #"STM32 H7 Power Supply Selection"
Review Comment:
```suggestion
endchoice
##########
arch/arm/src/stm32h7/Kconfig:
##########
@@ -284,11 +284,23 @@ config STM32H7_HAVE_SMPS
bool
default n
-config STM32H7_PWR_DIRECT_SMPS_SUPPLY
- bool "Use direct SMPS supply mode"
+choice
+ prompt "STM32 H7 Power Supply Selection"
+ default STM32H7_PWR_DIRECT_SMPS_SUPPLY
Review Comment:
where you define STM32H7_PWR_DIRECT_SMPS_SUPPLY
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]