Skip to content

WeAct MiniSTM32H723VGTX core 2.12.0 #2882

Closed

Description

@acronis2000

Hi !

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 ?

Activity

  1. added a commit that references this issue on Dec 17, 2025
    26fe5af
  2. added
    enhancement
    on Dec 17, 2025
  3. added this to the 2.13.0 milestone on Dec 17, 2025
  4. fpistm commented on Dec 17, 2025

    @fpistm
    Member

    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

    /**
    * @brief Exit Run* mode and Configure the system Power Supply
    *
    * @note This function exits the Run* mode and configures 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:
    * - PWR_LDO_SUPPLY
    * - PWR_DIRECT_SMPS_SUPPLY
    * - PWR_EXTERNAL_SOURCE_SUPPLY
    * - PWR_SMPS_1V8_SUPPLIES_LDO
    * - PWR_SMPS_2V5_SUPPLIES_LDO
    * - PWR_SMPS_1V8_SUPPLIES_EXT_AND_LDO
    * - PWR_SMPS_2V5_SUPPLIES_EXT_AND_LDO
    * - PWR_SMPS_1V8_SUPPLIES_EXT
    * - PWR_SMPS_2V5_SUPPLIES_EXT
    *
    * @note The function modifies the PWR->CR3 register to enable or disable specific
    * power supply modes and waits until the voltage level flag is set, indicating
    * that the power supply configuration is stable.
    *
    * @param None
    * @retval None
    */

    Note that you can create a file build_opt.h file with below syntax to fix the warning:
    -DUSE_PWR_LDO_SUPPLY

  5. added a commit that references this issue on Dec 17, 2025
    37e7df6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions