Skip to main content
markorman
Associate
July 2, 2019
Question

STM32CubeIDE empty STM32 project MCU change

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

This topic has been closed for replies.

2 replies

Markus GIRDLAND
ST Employee
July 2, 2019

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
November 3, 2020

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.