Skip to main content
Associate
May 12, 2024
Solved

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

  • May 12, 2024
  • 2 replies
  • 1420 views

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.
Best answer by Ghofrane GSOURI

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

2 replies

xushihaiAuthor
Associate
May 12, 2024

the macro ADC_VER_V5_V90 is not defined in stm32h743xx.h

AScha.3
Super User
May 12, 2024

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
Ghofrane GSOURIBest answer
Technical Moderator
May 13, 2024

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.