Skip to main content
Sara BEN HADJ YAHYA
ST Technical Moderator
July 16, 2026
StickySolved

Workaround for creating STM32CubeMX2 projects with a non-latest pack version

  • July 16, 2026
  • 1 reply
  • 48 views

Dear ST Community members,

 

At the moment, STM32CubeMX2 uses the latest packs available on the public server.

A script is available for a specific use case if you prefer not to start a project with the most recently published pack version.

This script can be used when a project needs to be created or maintained with the STM32C5 v2.0.0 packs, instead of the most recent version available.

If this matches your situation, feel free to use the script as an alternative.

Where to get the script: check How to start with previous versions of HAL2

For more details on how to use it, please check the README.

 

If you have any feedback, please don’t hesitate to share it with us in the:  STM32CubeMX2 (MCUs) - STMicroelectronics Community 

 

The STM32CubeMX2 Team

This topic has been closed for replies.
Best answer by Sara BEN HADJ YAHYA

This is an announcement post, if you have any issue or feedback to report please use the main page: STM32CubeMX2 (MCUs) - STMicroelectronics Community 

1 reply

Sara BEN HADJ YAHYA
Sara BEN HADJ YAHYAAuthorBest answer
ST Technical Moderator
July 16, 2026

This is an announcement post, if you have any issue or feedback to report please use the main page: STM32CubeMX2 (MCUs) - STMicroelectronics Community 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.