Skip to main content
Associate
Solved

STM32H743 ADC oversampling configuration misses macro definitions, leading to compilation errors.

Hi,

After updating STM32CubeMX to version 6.11.1, while configuring the ADC for the STM32H743, the oversampling settings now only allow pre-defined options. The generated code consequently employs pre-defined macros. However, the macro is not defined in , leading to a missing macro definition error during compilation.ADC_VER_V5_V90stm32h743xx.h

1.png

2.png

    This topic has been closed for replies.
    Ghofrane GSOURI
    Ghofrane GSOURIBest answer
    ST Technical Moderator

    Hello @xushihai 

    First let me thank you for reporting.

    This is a known issue that  has been already detected and reported to dev team in this ticket 180709  and will be fixed asap.

    Thx

    Ghofrane

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

    3 replies

    xushihaiAuthor
    Associate

    the macro ADC_VER_V5_V90 is not defined in stm32h743xx.h

    AScha.3
    Super User

    Hi,

    try: select HAL driver , generate code and check: working then ?

    (I use only HAL lib on my H743 , all working ok. )

    If you feel a post has answered your question, please click on " Best Answer ".
    Ghofrane GSOURI
    Ghofrane GSOURIBest answer
    ST Technical Moderator

    Hello @xushihai 

    First let me thank you for reporting.

    This is a known issue that  has been already detected and reported to dev team in this ticket 180709  and will be fixed asap.

    Thx

    Ghofrane

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.