Hello, I have installed µVision V5.23.0.0. I need to create the project which will use different targets: STRxxx or STMxxx controllers - same project for both. When I create the project and select device from Software Packs, I can change between STM devices later in Options For Target/Device. But there is no possible to select device from Legacy Device Database (STR), because I cannot switch between "Software Packs" and "Legacy Device Database" in Options For Target/Device. Is there some possibility to have both groups available at the same time? Thank you.
No, it is not possible. A MDK v5.x project with the project file extension *.uvprojx supports device selection from "Software Packs", after the corresponding software packs have already been installed. If you want to select a device from "Legacy Device Database" list in your MDK v5.x, you need to install the legacy support pack into your MDK v5.x www2.keil.com/.../legacy . And as long as you create a project based on a legacy device, this project file extension would be *.uvproj . In other words, you cannot have both cortex-m device selected from a software pack and a legacy device in the same project at the same time. They must be two projects
But there's no reason why those 2 projects shouldn't share common source files ...
@Chen Tang Thank you very much for your answer. This I expected, but I needed the confirmation and you provided the great one.
@Andrew Neil Yes, this is current solution, but I was looking for more elegant at first.