cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot build project from STM32CubeH7 1.11.2 with STM32CubeIDE 1.12.1

Gpeti
Senior II

Hello,

I'm using STM32CubeH7 1.11.2 and STM32CubeIDE 1.12.1.

The zip files available both on github and on st.com for STM32CubeH7 1.11.2 are not functional because many files are missing (not the same in both zip files b the way...). I guess this is because of the submodules in the git repository, I guess the zip generation did not include the submodules.

Would be great to re-generate the zip files or remove the links for the zip files and let people download only through git. I have lost a lot ot time dealing with this.

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
TOUNI.1
ST Employee

Hello @Gpeti,

For GitHub :

Yes, you're right.  The missing files in the STM32CubeH7 1.11.2 package are due to submodules not being included in the ZIP file. As a result, downloading the repository as ZIP  file does not fetch the submodules along with the rest of the firmware.

To resolve this issue, you can download the submodules separately and add them manually into the firmware. Or you can also use this git command to clone the repository along with its submodule: 

git clone --recursive https://github.com/STMicroelectronics/STM32CubeH7.git

Please note that these instructions are mentioned in the "How to use" section of the Readme.

For st.com :

As you are downloading the patch release v1.11.2, you must first download the official release STM32CubeH7 1.11.0 and then copy-paste the content of v1.11.2 into it. This way you will obtain a full package with the latest bug fixes released in v1.11.1 and v1.11.2.

 

I hope this clarifies the situation. If you have any further questions, please feel free to ask.

With regards,

 

View solution in original post

1 REPLY 1
TOUNI.1
ST Employee

Hello @Gpeti,

For GitHub :

Yes, you're right.  The missing files in the STM32CubeH7 1.11.2 package are due to submodules not being included in the ZIP file. As a result, downloading the repository as ZIP  file does not fetch the submodules along with the rest of the firmware.

To resolve this issue, you can download the submodules separately and add them manually into the firmware. Or you can also use this git command to clone the repository along with its submodule: 

git clone --recursive https://github.com/STMicroelectronics/STM32CubeH7.git

Please note that these instructions are mentioned in the "How to use" section of the Readme.

For st.com :

As you are downloading the patch release v1.11.2, you must first download the official release STM32CubeH7 1.11.0 and then copy-paste the content of v1.11.2 into it. This way you will obtain a full package with the latest bug fixes released in v1.11.1 and v1.11.2.

 

I hope this clarifies the situation. If you have any further questions, please feel free to ask.

With regards,