Skip to main content
Associate II
September 12, 2025
Solved

Optimize stm32cubeprogrammer folder size to use STM32_Programmer_CLI.exe line command only

  • September 12, 2025
  • 1 reply
  • 306 views

Hello

I am in the industrialization phase of a product based on STM32G0B0RE.
In order to optimize the flashing process for my manufacturer I made a .bat file programming the product the MCU using the STM32_Programmer_CLI.exe commmand from STM32CubeProgrammer.

 

Since I am not using the GUI of STM32CubeProgrammer is there any folder I can delete in the root to optimize the size of the package I'll provide. The STM32CubeProgrammer size is 1,36 Go if I can reduce it to 500 or 600 mO it could be very usefull.

 

Best Regards

Thibaud 

 

Best answer by Aziz BRIGUI

Hello @Tiboww,

You can use the STM32CubeProgrammer package bundled in STM32CubeCLT in STM32CubeCLT | Software - STMicroelectronics, after installing, you can find the package in this directory: 

C:\ST\STM32CubeCLT\STM32CubeProgrammer

The package is around 130 MBytes and is CLI only.

Hope this helps,

Aziz

1 reply

Aziz BRIGUI
Aziz BRIGUIBest answer
Technical Moderator
September 16, 2025

Hello @Tiboww,

You can use the STM32CubeProgrammer package bundled in STM32CubeCLT in STM32CubeCLT | Software - STMicroelectronics, after installing, you can find the package in this directory: 

C:\ST\STM32CubeCLT\STM32CubeProgrammer

The package is around 130 MBytes and is CLI only.

Hope this helps,

Aziz

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.
TibowwAuthor
Associate II
September 29, 2025

Hello

It is perfect thank you.

Thibaud