cancel
Showing results for 
Search instead for 
Did you mean: 

Embedding STM32_Programmer_CLI.exe within my application

LPetr.1
Senior

I would like to create a Python GUI application based on PySide6. Within the application, I want to embed the funcionality to flash STM32 devices using STM32_Programmer_CLI.exe command line tool.

The STM32_Programmer_CLI.exe comes with an installation of STM32CubeProgrammer. The total size of the STM32CubeProgrammer is 609MB:

LPetr1_0-1733220174097.png



and I am sure not everything is required if I simply want to use STM32_Programmer_CLI.exe




I would like to get some advice on how can I reduce the size of the STM32CubeProgrammer for my particular purpose since it comes with a lot of unnecessary files such as STM32CubeProgrammer.exe itself that I do not need since I use STM32_Programmer_CLI.exe and other files... I only need to have STM32_Programmer_CLI.exe and other must to have dependencies to flash the MCU's via SWD. Perhaps there are other "lightweight" CLI tools or options that I should use for this particular case?

I am quite concerned since I may accidentally delete something that is actually required.

0 REPLIES 0