2021-09-08 01:10 PM
How can I lock the firmware package version used by my CubeIDE project. I do not want the firmware to be updated when I make changes to the MCU pin usage.
2021-09-08 01:46 PM
Don't upgrade it. Cube won't force you to. The package version is selectable in code generation options.
2021-09-08 02:14 PM
Well I hope that is true because I have seen Cube update firmware when saving a change in the configuration tool. On the Project Manager "Project" page the firmware version is greyed out, even though I have a couple of packages for my MCU.
2021-09-08 02:37 PM
You'll get a screen like this. Make sure you don't blindly click through.
Looks like it is not selectable per se. You can only migrate upwards.
2021-09-08 02:42 PM
OK, that would be good.
If one decides to not migrate and then some time later wish to do that, is that possible in Cube?
2021-09-08 02:56 PM
2021-09-08 03:07 PM
Excellent, thanks so much for helping alleviate my concerns.
IOC is always in a git repo so in the event I "click through" that dialog incorrectly I should be OK :)
2021-09-08 05:05 PM
Can't you make relevant portions of Cube (the "library") permanently part of your project by simply moving its sources to directories of your project, outside CubeIDE's upgrader's scope?
I don't know, I don't Cube.
JW
2021-09-09 06:04 AM
Thanks for the response, of course that is one solution, however, disconnecting the firmware from Cube negates one of the benefits of Cube. That is the ability to easily make changes to the peripheral setup.