Skip to main content
Sid Price
Associate III
September 8, 2021
Question

How to lock the firmware package version

  • September 8, 2021
  • 8 replies
  • 1956 views

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.

This topic has been closed for replies.

8 replies

TDK
September 8, 2021

Don't upgrade it. Cube won't force you to. The package version is selectable in code generation options.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Sid Price
Sid PriceAuthor
Associate III
September 8, 2021

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.

TDK
September 8, 2021

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.

0693W00000DmbkFQAR.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
waclawek.jan
Super User
September 9, 2021

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

Sid Price
Sid PriceAuthor
Associate III
September 9, 2021

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.