2024-12-03 02:00 AM - edited 2024-12-03 02:03 AM
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:
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.