STM32CubeMX destroys multiple targets in Keil uVision
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-13 7: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?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-14 1:43 AM
Hi smrtkai,
For the actual version, it supports one target for a Project. I transmit your request to our CubeMx team.-Hannibal-- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-12-06 8:28 AM
This could be usefull to be able to use multiple targets.
thank you
- LoPe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-12-20 3:36 AM
My targets are Debug, Production and Test, so they all use the same code base.
