Skip to main content
Rajeev Arora
Senior
November 24, 2020
Solved

Requesting Fix: STM32CubeMX version series 6 adds two instances of #include "stm32h7xx_hal.h" to file main.h

  • November 24, 2020
  • 4 replies
  • 1011 views

Dear @Khouloud ZEMMELI​ ,

STM32CubeMX version series 6 adds two instances of #include "stm32h7xx_hal.h" to file main.h

I am observing this behavior even with STM32CubeMX version 6.1.0

I observe in \inc\main.h:

Line 31: #include "stm32h7xx_hal.h"

Line 32: #include "stm32h7xx_hal.h"

Requesting duplicate include removal.

Thanks,

Rajeev

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hi @Rajeev Arora​ 

You're right, Issue reproduced with your ioc file and It will be fixed.

Thanks for your feedback,

Khouloud

4 replies

Khouloud ZEMMELI
ST Employee
November 24, 2020

Hello @Rajeev Arora​ ,

Issue not reproduced on my side , could you please share your ioc file ?

Thanks

Khouloud

Rajeev Arora
Senior
November 24, 2020

Hello @Khouloud ZEMMELI​ ,

Please find attached the IOC file.

Thanks,

Rajeev

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
November 27, 2020

Hi @Rajeev Arora​ 

You're right, Issue reproduced with your ioc file and It will be fixed.

Thanks for your feedback,

Khouloud

Rajeev Arora
Senior
November 24, 2020

Hello @Khouloud ZEMMELI​ ,

Have you enabled FreeRTOS CMSIS version 2 in the test STM32CubeMX / IOC project?

Please enable FreeRTOS and then check.

Thanks,

Rajeev