cancel
Showing results for 
Search instead for 
Did you mean: 

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

xushihai
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

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

View solution in original post

3 REPLIES 3
xushihai
Associate

the macro ADC_VER_V5_V90 is not defined in stm32h743xx.h

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 "Accept as Solution".
Ghofrane GSOURI
ST Employee

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