cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32F4] How to download and unzip selected files?

TYush.1
Associate

I want to install STM32Cube MCU Package for STM32F4 Series.

When I install ver 1.26.2, "stm32cube_fw_f4_v1260.zip" is installed and unzipped at first.

In "stm32cube_fw_f4_v1260.zip", the folder "STM32Cube_FW_F4_V1.26.0" is included.

Then, "stm32cube_fw_f4_v1262.zip" is installed and unzipped.

But, as the folder "STM32Cube_FW_F4_V1.26.0" is also included in "stm32cube_fw_f4_v1262.zip" and the folder name is overlapped, the error occurs every time.

I'm looking forward to answering this question.

3 REPLIES 3
KnarfB
Principal III

renmae/remove the old folder at the file system level (%USERPROFILE%\STM32Cube\Repository) ?

TYush.1
Associate

Yes, I removed the old folder.

Try the following:

Git clone https://github.com/STMicroelectronics/STM32CubeF4.git

or download a zip: https://github.com/STMicroelectronics/STM32CubeF4/archive/refs/heads/master.zip and unzip.

Then rename the unpacked folder accordingly with package.xml in the root.

It says, Patch="FW.F4.1.26.2" so the folder name will be STM32Cube_FW_F4_V1.26.2

Then move it into ....STM32Cube/Repository.

Now CubeMX or CubeIDE should recognize it. If not, rename to STM32Cube_FW_F4_V1.26.0

-- pa