I am using STM32CubeIDE (on Win10 OS), which is based on STM32CubeMX version '6.2.0'. I have a project configuration file (my_project.ioc) created with STM32CubeMX version '6.4.0'. When I try to import the project using the "STM32 Project from an Existing STM32CubeMX Configuration File (.ioc)" option in STM32CubeIDE, I receive the following error:
"Invalid Input: 'my_project.ioc' file content is not supported. This file has been generated with STM32CubeMX version '6.4.0'. Your current STM32CubeMX version is '6.2.0'. Please check for an update: Help > Check for Updates"
I am unable to update my STM32CubeIDE version due to other projects in late development stages. Is there any solution or workaround to import the project into my current version of STM32CubeIDE without updating the IDE? Any suggestions or insights would be greatly appreciated.
Thank you.
There is a way to do it.
Open the ioc file with your favorite text editor and replace the two following values with the one you want to use :
set here the version you want
the DB version might be the same for 6.4.0 and 6.2.0 I guess, if not, use an older database version
Then, open your old version of MX and load the ioc.
However and for logical reason of having the latest version, updates and bug fixes, you should consider installing alongside your existing version the previous one. You can indeed have several versions of MX as well as CubeIDE as long as you change the default installation path so it doesn't override your default version set in the environment variable of your computer.