cancel
Showing results for 
Search instead for 
Did you mean: 

The startup code paths in the cmake files for the H745 created with CubeMX v6.12 are incorrect.

imagawa122
Associate

H745 startup files are located in "CM7/Core/startup/startup_stm32h745xx_CM7.s" or "CM4/Core/startup/startup_stm32h745xx_CM4.s".

However, the build source path for the startup files in the mx-generated.cmake in each core's folder is ". /Startup/startup_stm32h745xx_CM7.s" or ". /Startup/startup_stm32h745xx_CM4.s".

Therefore, the cmake file must be changed to build.

1 REPLY 1
Semer CHERNI
ST Employee

Hello @imagawa122 

First let me thank you for posting.

I tried to reproduce the described behavior but the code is compiled correctly.

And after checking the mx-generated.cmake the startup file path is defined this way:

  • ./Core/Startup/startup_stm32h745xx_CM7.s
  • ./Core/Startup/startup_stm32h745xx_CM4.s

Could you provide a simplistic project showing this behavior?

BR,
Semer.

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.