cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 4.18.0 - bug, deleted startup_stm32fxxxxx.s

petr239955
Associate III
Posted on November 27, 2016 at 02:16

I tried the new version of STM32CubeMX

4.18.0

.

If I generate project for MDK-ARM V5 will be deleted the 

startup_stm32fxxxxx.s

file in the path Drivers/CMSIS/Device/ST/STM32Fxxx/Source/Templates/gcc. Similarly, if I generate project for SW4STM32 will be this file deleted in the path Drivers/CMSIS/Device/ST/STM32Fxxx/Source/Templates/arm. It is not possible to generate

simply

the project for both development environments.

#startup_stm #stm32cubemx-4.18.0
3 REPLIES 3
carmine
Associate II
Posted on November 27, 2016 at 19:27

Hi, can you also explain why have you moved the 

system_stm32XXxx.c

 file inside the main 

src/

 project folder, while still keeping the 

system_stm32XXxx.h

 file inside the CMSIS Device package? I think that in the main 

src

 folder should be added only files affected by the CubeMX code generation, IMHO.

petr239955
Associate III
Posted on November 27, 2016 at 23:10

I do not write about

system_stm32XXxx.c

and

system_stm32XXxx.c

h

files.

These files

are in order.

Posted on December 13, 2016 at 11:53

Hello petr.k,

If you want to work on SW4STM32 and with another IDE (as MDK-ARM v5), you can uncheck in Project tab the checkbox 'Generate under root' and go in Code Generator tab and check 'Copy all used librairies into the project folder'. 

It will keep all the necessary files for the different IDEs.

BR. Eric