2016-06-13 07:37 AM
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?2016-06-14 01:43 AM
Hi smrtkai,
For the actual version, it supports one target for a Project. I transmit your request to our CubeMx team.-Hannibal-2016-12-06 08:28 AM
This could be usefull to be able to use multiple targets.
thank you
- LoPe
2016-12-06 12:12 PM
Perhaps creating separate CubeMX projects for each target would make more sense. Since different CPUs use different libraries having multiple targets with one code base seems problematic. You'll need to update, regenerate and build each target project when you have a change debugged, but this will keep things separate and the tools happy
2016-12-20 03:36 AM
My targets are Debug, Production and Test, so they all use the same code base.