Skip to main content
RMais
Associate II
June 19, 2019
Question

Change static library project target device in STM32CubeIDE

  • June 19, 2019
  • 0 replies
  • 949 views

I'm creating a static library project that is portable across many mcu because it is target indipendent code. The problem is that once I created the project, it seems impossible to change che mcu setting inside Project Properties > C/C++ Build > Settings > Tool Settings panel, as shown below:

0690X000008ivW8QAI.png

The box is grey and the compilation flag -mcpu is fixed and cannot be changed.

I wanted to make different build configurations with different target devices.

Is there a way to do that?

Thank you for your time.

This topic has been closed for replies.