cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE empty STM32 project MCU change

markorman
Associate

How can I change the MCU used in the project which was created as STM32 projct and "empty project" not CUBEMX.

The Option fo MCU is greyed out in Tool Settings.

0690X000009YIhWQAW.png

2 REPLIES 2
Markus GIRDLAND
ST Employee

Even when choosing empty project in the "New -> STM32 project" flow you still use the MCUFinder to choose a target.

It's listed under known problems (RN0114) that "STM32CubeIDE does not support switching from one MCU to another once the project is created".

If you have resources you want to move then you'll need to create a new empty project and do it manually.

ColdWeather
Senior

It's still possible but by manual editing of the project (.cproject, .project and some files unter .settings subdir) files and knowing what to replace.