AnsweredAssumed Answered

STM32CubeMX destroys multiple targets in Keil uVision

Question asked by smrtkai on Jun 13, 2016
Latest reply on Dec 20, 2016 by smrtkai
Hello,

I have a project with multiple targets. The project was initially generated using STM32CubeMX 4.15. I have created some targets manually. When I change some peripherals and re-generate the code, STM32CubeMX deletes all names of my targets and the compiler cannot compile the targets anymore. The compiler complains "CMSIS Core unavailable for this target".

Additionally if I close the Keil uVision project, when another target than the originally generated target is selected, no target is compilable after code generation. The project needs to be closed with the originally generated target.

Is there any way to work with multiple targets?

Outcomes