cancel
Showing results for 
Search instead for 
Did you mean: 

Why STM32CubeMX No More Generating sysmem.c?

pohtv
Associate II
Posted on May 26, 2017 at 13:35

Hi,

How do I enable the STM32CubeMX version 4.21.0 to generate sysmem.c file under startup folder? The file seems to be missing. The older version of STM32CubeMX automatically generates it.

#stm32
6 REPLIES 6
Imen.D
ST Employee
Posted on May 30, 2017 at 12:23

Hi, 

I will forward your feedback internally to our CubeMx team to inform you about the taken explanation.

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Jeanne Joly
Senior III
Posted on January 22, 2018 at 16:35

Hi

Poh.Tze_Ven

,

Sorry for the late answer.

Before, we were pointing directly on the system.c file under FW package and now, at the first generation, it is copied from the FW src folder to CubeMX src folder.

Hope it will help you.

BR

MartinDQ
Associate III

After I updated CubeMX 6.9 to 6.11.0 and migrated my project to new version I have a problem that everytime I re-generate the code the compiler complains missing syscalls.c, sysmem.c files. This files doesn't exist anywhere in the project neither CubeMX folder. The code generator always places this files in generated Makefile at the end of C_SOURCES list and I have to manually delete this 2 lines. Is there some option to not place this non-existing files in Makefile?

Don't hijack threads - create your own.

?

I think, it is new bug introduced in latest CubeMX 6.11. Also, looks like some new bugs in USB library.