2024-11-07 05:28 AM
I was about to ask about this, but suddenly figured it out.
My goal was to delete old irrelevant stuff from the "File path" drop-down box in STM32CubeProgrammer / Erasing & Programming, but it wasn't obvious how to do that. Now that I've figured it out, I want to share it with the community.
On Windows computers (at least mine), the recent file list is not placed in Windows registry, but in a text file. The file to edit is config.properties, located in C:\Users\{user name}\STMicroelectronics\STM32CubeProgrammer.
Recent files with complete paths are listed at the parameter downloadFileList, separated with commas. Simply delete those you no longer want there (or all), and save the file. Next time you open STM32CubeProgrammer, only the files you left in the list are available in the drop-down box.
I don't know if it is necessary, but I made the change while STM32CubeProgrammer was not running. My guess is, that if the file is edited while the application is running, the changes made will be overwritten when the application is closed.
Enjoy.
2024-11-12 05:25 AM
Hello @EThom.3
Yes you're correct ! config.properties contains cached values used by STM32CubeProgrammer. If you modify the file when STM32CubeProgrammer is running it will be overwritten once STM32CubeProgrammer is closed.
Thanks for sharing !
Aziz