Is there a way to obtain a second project target configuration (such as Debug and Release) for a CubeMX project?
I already have a Debug configuration. When I create a new project target (Release), a new folder (named “Release”) is created in the project folder. I copied the “myproject.cgen.yml” file from the Debug folder to the Release folder and changed the references inside the file from
- file: ./STM32CubeMX/Src/main.c to
- file: ./..Debug//STM32CubeMX/Src/main.c
However, when I do this, uVision excludes all files in one of the configurations (debug or release) from the build when I reopen the project.
Is there a way to have these two configurations without the need to have a complete second project in the Release folder.
It's really annoying to change the parameters manually every time.
Thanks and kind regards
René