cancel
Showing results for 
Search instead for 
Did you mean: 

which folder to store user files so CUBEMX doesn't delete them

dieter 123
Associate III
Posted on October 14, 2016 at 12:49

Hi

in which folder should I store my user .c/.h files, so they are not deleted when I regenerate the Project with STM32CUBEMX?

#!cubemx
1 REPLY 1
Nesrine M_O
Lead II
Posted on October 14, 2016 at 13:11

Hi dieter

Go to project>setting >code Generator tab, then select this option: ?Backup previously generated files when re-generation?

?The .bak extension is added to previously generated .c/.h files. Keep user code when regenerating the C code. This option applies only to user sections within STM32CubeMX generated files. It does not apply to the user files that might have been added manually or generatedvia ftl templates.?

0690X00000604dSQAQ.png

-Syrine-