Hi @gil_dobjanschi
I want to let you know that you can update the packs for each existing project using the STM32CubeMX2 CLI, without opening the projects individually.
First, you can list all the packs utilized within a project by:
cube mx project pack list --project-path C:/MX2_Projects/100_Project_003.ioc2
Also, to list only the packs for which a newer version is available, use:
cube mx project pack list --project-path C:/MX2_Projects/100_Project_003.ioc2 --upgradable
Based on the output, you can identify the pack details such as:
{
"vendor": "STMicroelectronics",
"name": "stm32c5xx_dfp",
"version": "2.0.0",
"installed": true,
"id": "STMicroelectronics.stm32c5xx_dfp.2.1.0",
"pdsc_path": ………………...
"latest": "2.1.0"
},
You can update a pack to a newer version with:
cube mx project pack update --pack-vendor STMicroelectronics --pack-name stm32c5xx_dfp --newer-pack-version 2.1.0 --project-path C:/MX2_Projects/100_Project_003.ioc2
The update result should look like this:
{
"status": "success",
"data": {
"success": true,
"issues": []
}
}
Please do not hesitate to get back to me if you need more details or further assistance.
Best Regards
Oussama
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.