AnsweredAssumed Answered

How to add user source files to STM32CubeMX project?

Question asked by Jim Seymour on Aug 23, 2016
Latest reply on Aug 25, 2016 by Jim Seymour
I created a project with STM32CubeMX, generated the source code (for MDK-ARM5), then expanded my code by adding a couple of new source files.
Later, I went back to tweak my original Cube project and when I regenerated the source code, it deleted my new source files and created a new Keil project that didn't know about my new sources.
Is there a trick to doing what I want here?  My workaround so far is to store my new code in a separate folder - but I still have to re-add them to my project if I ever re-generate the source code.
Thanks.

Outcomes