cancel
Showing results for 
Search instead for 
Did you mean: 

Change static library project target device in STM32CubeIDE

RMais
Associate II

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.

0 REPLIES 0