Skip to main content
unicycle
Associate III
Oct 6, 2021 12:29 PM UTC
Question

Why are the tools all over my hard disk?

I have been following the video to install tools and whatnot for STM32WB. So far, STM32CubeMX was installed in C:\Program Files, STM32CubeWB support was installed in a C:\Users for some reason, STM32CubeIDE was installed in C:\ST. I almost dare not continue. I get that it is necessary to download gigabytes of junk just to try out my P-NUCLEO-WB55 but why is it sprayed all over my hard drive like this?

This topic has been closed for replies.

6 replies

Peter BENSCH
ST Technical Moderator
Oct 6, 2021 12:42 PM UTC

Because of the limitations that you have as a Windows user. For example, the path length is limited, which is why the STM32CubeIDE must be installed in a directory with the shortest possible path, and with write access if you don't want to experience any nasty surprises. You don't have these limitations with Linux and MacOSX.

Regards

/Peter

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.
unicycle
unicycleAuthor
Associate III
Oct 7, 2021 8:20 AM UTC

Ah. Thanks for the reply. I'd suggest just making C:\ST the default in all cases, for consistency, but I suppose that was already considered. Not to worry. I have the examples working and can now trawl the code...

Mike_ST
ST Technical Moderator
Oct 6, 2021 12:56 PM UTC

Under STM32CubeIde you can choose where to download the Software Packages (instead of C:\Users\)

=>Menu Windows => Preferences => STM32Cube => Firmware Updater => Repository Setup

Same option exists in STM32CubeMX in Menu Help => Updater Settings => Repository Folder.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
Tesla DeLorean
Guru
Oct 7, 2021 3:50 PM UTC

Trick here is NOT to let tools install to default directories.

Access to "Program Files" is obfuscated to protect against viruses, malware, etc. and further hacks virtualize content into User directories. Microsoft/Windows never really understood the linkage UNIX afforded.

But yes, some coherent method/plan would be desirable, but unlikely to be executed.

More wisen devs would share details between apps or check location of other products in the installer, and the tools would be smarter in the directories/defaults offered forth. Smaller companies tend to be more aware of the support costs, and what's driving them..

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..