cancel
Showing results for 
Search instead for 
Did you mean: 

"C:\Users\Tom\STM32Cube\Repository" How do I manage folders?

병강.1
Associate

I started learning ARM MCU and STM32CubeIDE last week (beginner).

I chose my first MCU as STM32L152RE, and installed STM32CubeIDE.

Since I was a beginner of STM32CubeIDE, I ran STM32CubeIDE and downloaded and installed several files without knowing the contents.

So my "C:\Users\Tom\STM32Cube\Repository" folder got complicated, and I'd like to get some help to clean it up.

I opened "C:\Users\Tom\STM32Cube\Repository", and the following two folders related to STM32L152RE are expected.

(1) C:\Users\Tom\STM32Cube\Repository\STM32Cube_FW_L1_V1103\Drivers\STM32L1xx_HAL_Driver\Src

(2) C:\Users\Tom\STM32Cube\Repository\STM32Cube_FW_L1_V1.10.0\Drivers\STM32L1xx_HAL_Driver\Src

------------------------------------------------------------ -----------------------------------------------

[Q1]

------------------------------------------------------------ -----------------------------------------------

In order for me to learn using the example of STM32L152RE, do I need both folders above?

Or should I keep "STM32Cube_FW_L1_V1103", which is expected to have a higher file version, and delete "STM32Cube_FW_L1_V1.10.0"?

------------------------------------------------------------ -----------------------------------------------

0693W00000JMvn0QAD.jpgI downloaded 2 files from "https://www.st.com/en/embedded-software/stm32cubel1.html".

(1) en.patch_cubel1_v1-10-3_v1.10.3.zip

(2) en.stm32cubel1_v1-10-0_v1.10.0.zip

I unzipped each of them to the locations below.

C:\Users\Tom\STM32Cube\Repository\en.patch_cubel1_v1-10-3_v1.10.3

C:\Users\Tom\STM32Cube\Repository\en.stm32cubel1_v1-10-0_v1.10.0

------------------------------------------------------------ -----------------------------------------------

[Q2]

------------------------------------------------------------ -----------------------------------------------

Do I need both folders?

Otherwise, after copying the files from the "en.patch_cubel1_v1-10-3_v1.10.3" folder to the "en.stm32cubel1_v1-10-0_v1.10.0" folder,

Delete the "en.patch_cubel1_v1-10-3_v1.10.3" folder,

Can I just leave the "en.stm32cubel1_v1-10-0_v1.10.0" folder?

------------------------------------------------------------ -----------------------------------------------

1 REPLY 1
KnarfB
Principal III

Hi,

in the Repository folder, firmware packages and versions will accumulate over time. This is needed if you have real-world projects that you don't want to or cannot migrate to a newer firmware version.

Treat this folder like read-only at the file level and use it as a valuable source for examples... as you already did.

Manage the contents via STM32CubeIDE or STM32CubeMX Help > Manage Embedded Software Packages. Then the software knows, what is installed.

hth

KnarfB