cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube Programmer CLI: What files are really needed?

eGDY2CVw4jwV
Associate II

Hi,

I'd like to integrate the STM32CubeProgrammer CLI into my own windows tool.

Currently I'm investigating on the following questions:

  • What files from installation directory are necessary to use the CLI tool for UART DFU?
  • Can I safely remove some of the dlls, external flashloader files, GUI tools to reduce the size of the tool? (Almost 80 Mb!)
  • Will there be seperate releases of the CLI tool in the future , which do not contain all the GUI tools and libs, or at least a list of neccessary files, updated for each release?

Thank you and best regards!

2 REPLIES 2
Houda GHABRI
ST Employee

Hello @eGDY2CVw4jwV,

- For DFU usage only, you can remove the flash loader and external flashloader directories which are used only for JTAG connection

-You can also delete Cubeprogrammer_API.dll and STM32CubeProgrammer.exe which are used for GUI

-For the last point it is under study but I can’t confirm now if it will be done in short term.

Regards,

Houda

eGDY2CVw4jwV
Associate II

Hi @Houda GHABRI​ ,

thank's for your answer!

 I'll evaluate your answer in the next days and see how far it's working!

Best regards