AnsweredAssumed Answered

CubeMX bug : MDK project

Question asked by johnathan on Aug 19, 2016
Latest reply on Sep 6, 2016 by STM32Cube-T
CubeMX breaks your MDK project if you have added "Project Targets".

1. Generate MDK project from CubeMX
2. Add Project Targets (ex. Project_DEBUG, Project_Optimize_O3)
3. Change a setting in CubeMX project, example change the IP address in LWIP
4. Regenerate code

When CubeMX edits the MDK project file, it removes the names of your custom targets (renames them all to ""). uVision will then fail to open the project because it contains more than one target named "".

I think multiple configurations, a fairly basic feature of any IDE, was not considered/tested for CubeMX's MDK generation.