Importing a CubeMX project with Debug and Release Targets
Hi,
I have successfully used CubeMX for initialisation of a custom STM32F411 based development board which was then imported into a System Workbench project which I was able to build and debug successfully using an ST-LINK V2 debug probe.
However, if I create a new C project in System Workbench I get the options to create both a Debug and Release configuration. In addition I have options to include the Cube HAL source code into the project etc.
When I imported the CubeMX project into System Workbench I could not find a way setup both Debug and Release configurations.
Is there some procedure which will allow me to import/create a System Workbench project that uses the initialsation code generated by CubeMX and also provide me with a Debug and Release configuration? I also need to be able to use CubeMX to update the initialisation code arbitrarily?
What is the recommended optimisation level for the CubeMX generated code?
Regards
FarmerJo