cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to update/migrate an existing project to a new firmware package in STM32CubeIDE?

MNagl.1
Associate II

I would like to benefit from bugfixes in newer firmware packages for an existing STM32H7 MCU. However there seems to be no way to switch to newer firmware packages for existing projects in Cube IDE. Does a recommended way exist which does not require to set up a new project transferring all settings and all custom code?

2 REPLIES 2
Pavel A.
Evangelist III

If the old firmware package is not *too* old, often you can just fix the references in existing projects to point to the new library version.

(or, if the library files were copied to your project tree, update them there).

YMMV.

--pa

Cartu38 OpenDev
Lead II

Way to get lastest pack is to rely on latest tool suite. Rely on STM32CubeIDE 1.6.1 (latest one release 1 week ago). Start an IDE session, import your running project to new workspace or use your previous workspace. Open x2 click on your project .ioc file. Opening .ico file editor (aka. Device Configuration Tool° you should be prompted about a popup asking you to continue or migrate. If you are selecting migrate you're going to be updated to latest FW pack version. Once you're getting .ioc editor just save it and ask for a code generation (Project > Code generation ... or gear wheel as part of toolbar). Now your project should be updated.

Note: good practice is to get first a copy or a source controlled project snapshot ...