You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm adding an empty project to the WeAct MiniSTM32H723VGTX board and getting this error when compiling the sketch
`void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
C:\Users\Admin\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.12.0\libraries\SrcWrapper\src\stm32\hw_config.c:30:9: note: '#pragma message:
Configure the system power supply according to the
definition to be used at compilation preprocessing level.
The application shall set one of the following configuration option:
- USE_PWR_LDO_SUPPLY
- USE_PWR_DIRECT_SMPS_SUPPLY
- USE_PWR_EXTERNAL_SOURCE_SUPPLY
- USE_PWR_SMPS_1V8_SUPPLIES_LDO
- USE_PWR_SMPS_2V5_SUPPLIES_LDO
- USE_PWR_SMPS_1V8_SUPPLIES_EXT_AND_LDO
- USE_PWR_SMPS_2V5_SUPPLIES_EXT_AND_LDO
- USE_PWR_SMPS_1V8_SUPPLIES_EXT
- USE_PWR_SMPS_2V5_SUPPLIES_EXT
'
30 | #pragma message "\n
`
If I change the board to another one WeAct MiniSTM32H743VITX - The sketch compiles without warnings or errors
Can you fix it for the board WeAct MiniSTM32H723VG ?
Hi @acronis2000
this should not be an issue. It is a warning as it is not defined by default but the power supply is well set in the system clock config.
So you can use it anyway.
It can be an issue only when you exit run mode.
See
Activity
variant(h7): define power supply for the WeActMini H723VG
fpistm commentedon Dec 17, 2025
Hi @acronis2000
this should not be an issue. It is a warning as it is not defined by default but the power supply is well set in the system clock config.
So you can use it anyway.
It can be an issue only when you exit run mode.
See
Arduino_Core_STM32/system/STM32H7xx/system_stm32h7xx.c
Lines 430 to 452 in e42e2c6
Note that you can create a file build_opt.h file with below syntax to fix the warning:
-DUSE_PWR_LDO_SUPPLYvariant(h7): define power supply for the WeActMini H723VG