cancel
Showing results for 
Search instead for 
Did you mean: 

Storage Location for Software Packs

User_MV
Associate II

Hello,

I was wondering where the installed software packs are stored on the disk?

I would like to have a look at the content and the examples, assuming e.g. the HAL pack or the Nucleo board pack contains these examples.

1 ACCEPTED SOLUTION

Accepted Solutions
Sara BEN HADJ YAHYA
ST Employee

Hello @User_MV  and Welcome to ST Community,

As a complement to my colleague’s previous comment, the packs are installed and can be found in the following locations:

  • Windows: C:\Users\<mylogin>\AppData\Local\stm32cube\packs
  • Linux: ~/ .local/share/stm32cube/packs
  • macOS: ~/Library/Application Support/stm32cube/packs

Please note that these packs can be used by STM32CubeMX2, but they do not contain examples. For the list of available examples, please refer to the STM32 Example Library.

I have submitted an internal ticket to add this information to the online documentation of STM32CubeMX2. We will keep you posted.

Internal ticket number: CDM0062457 (This is an internal tracking number and is not accessible or usable by customers).

Regards,

Sara.


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.

View solution in original post

9 REPLIES 9
Saket_Om
ST Employee

Hello @User_MV 

The software packs are stored in the following path: C:\Users\username\AppData\Local\stm32cube\packs\STMicroelectronics.

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.
Saket_Om
Sara BEN HADJ YAHYA
ST Employee

Hello @User_MV  and Welcome to ST Community,

As a complement to my colleague’s previous comment, the packs are installed and can be found in the following locations:

  • Windows: C:\Users\<mylogin>\AppData\Local\stm32cube\packs
  • Linux: ~/ .local/share/stm32cube/packs
  • macOS: ~/Library/Application Support/stm32cube/packs

Please note that these packs can be used by STM32CubeMX2, but they do not contain examples. For the list of available examples, please refer to the STM32 Example Library.

I have submitted an internal ticket to add this information to the online documentation of STM32CubeMX2. We will keep you posted.

Internal ticket number: CDM0062457 (This is an internal tracking number and is not accessible or usable by customers).

Regards,

Sara.


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.

@Sara BEN HADJ YAHYA  Are the examples in STM32 Example Library usable with CubeIDE 2.x (Eclipse)? Selection of IDE there shows only EWARM, cmake or "open-cmsis" (which is CMake again?) 

Thank you for this information. 

I was suggesting to add a Link also in CubeMX2, but I saw that it is already there, if you know what to look for. So Maybe a short Intro on first Startup with the key differences between CubeMX1 and CubeMX2 would help....

 

And if I way, I would like to make two other suggestions:

  1. Add a Program Starter to to the macOS version, so you can find the program in the program menu or on the command line. 
  2. Refer to CubeMX1 e.g. in the documentation if you reference the original CubeMX program and CubeMX if you refer to the eco-system. Otherwise it can be difficult / confusing, at least in my unqualified opinion ... 

 

Bye.

Hello,

you can import the cmake based examples in CubeIDE: "Import" > "Import STM32 Project" > "STM32 CMake Project"

However, the project configuration is not as integrated as with a native Eclipse project. 

On the other hand, an independent project configuration is probably what you want, so you can build it easily in a CI environment.

There is a Eclipse Marketplace Plugin for CMake syntax highlighting. Maybe that will be integrated in CubeIDE in the future...

Hi @User_MV ,

Thanks a lot sharing your ideas with us, we really appreciate your input.

For better visibility in the ST Community, we recommend keeping each thread focused on one topic. This also helps us track things more easily on our side and get back to you on each post with the right details. If you have other ideas to share, please feel free to post them separately so we can review them properly.

Let's keep this thread for the packs storage location, and please submit new posts for the other ideas.

Thanks again for taking the time to contribute and help improve our software tools!

 

Regards,

Sara.

 

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.
Pavel A.
Super User

Just a small note for people who want the Cube data installed in a global location, rather than per-user (dependent on the username):

You can create a global directory, for example C:\ST\stm32cube\packs or /opt/ST/stm32cube/packs and move the stuff there. Then create a symbolic link from the per-user "packs" directory to the global one. Yes, symbolic links work in Windows too (not "shortcuts"!). 

 

MM..1
Chief III

I only add many years exist Public folder in Users. Why installers not use it or better in config optios add button MOVE TO PUBLIC... Is more better as create symlinks. 

Copilot says that Windows has two "shared" directories: c:\users\public and c:\ProgramData.

* The latter is suitable for CubeMX databases, as they are not "user documents".

* The c:\users\public is intended for "documents" and other files shared by human users.

It gives the following explanation:

 


Think of it like this:

C:\ProgramData = The building’s utility room
(electrical panels, plumbing, boiler—used by the building, not residents)

C:\Users\Public = The shared lounge
(a place where residents can leave books, games, or notes for each other)

Both are shared, but for completely different reasons.