Question
Change static library target device in SW4STM32
Posted on September 11, 2016 at 10:16
Hi,
I use the SW4STM32 IDE and would like to create a generic static library.When I go to New Project tab and select static library in ''Project type'', I can create ''Ac6 STM32 MCU GCC'' or ''Cross GCC'' project.Naturally I go to the Ac6 project and then I have to select the target MCU. The problem begins, when I want to change the target MCU. There is a warning not to do that, and even if I try to change the target in the settings, the target won't change.The advice is to create a new project, but that would be difficult if I want to use the library on many projects.I think I could create GCC project by referencing the toolchain and everything else, but it looks like an inefficient way.I would like to ask if there a good way to change library target device?