STMicroelectronics / STM32CubeH7

STM32Cube MCU Full Package for the STM32H7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
https://www.st.com/en/embedded-software/stm32cubeh7.html
Other
523 stars 309 forks source link

Git Repository should be split up into submodules #108

Closed WBABD closed 2 years ago

WBABD commented 3 years ago

Describe the set-up I am experiencing long clone times due to all dependencies being copied in directly instead of using submodules

Describe the bug lwIP, FreeRTOS and CMSIS are copied in directly instead of referencing other git repositories. The examples should be contained in another module instead of with all the drivers.

How To Reproduce Clone the project using Git

CCASTM commented 3 years ago

Hello WBAD

The first intent of the GitHub publication (in April 2019) was to propose an alternative to the zip format proposed in st.com servers. You can find then all FW Packages series under configuration management. This is a first added value to manage the successive versions from the customer point of view, an benefit from the Issues and Pull Request features. Since December 2019, you can find also the first components published individually (CMSIS Core and Device, HAL Drivers, a first set of MW, X-CUBE ). Please take a look to the repo https://github.com/STMicroelectronics/STM32Cube_MCU_Overall_Offer to get a description of all STM32 git repos Regards Christophe

CCASTM commented 3 years ago

Just to complete my previous comments. The sub-modules feature was not selected to publish the FW Packages as the full packages exist as is in our internal configuration management. In the future, we have in mind to use git sub-repo to publish specific application projects Regards Christophe

ALABSTM commented 2 years ago

Hi @WBABD,

As explained by @CCASTM, not using submodules for Cube repos is a choice. On the other hand, choice has also been made to use them for other repos (a handful so far):

Regarding the time it may take to clone the full firmware published within this repo, please note we also published the different components (i.e., CMSIS, HAL-LL, BSP, etc.) separately in dedicated repos.

As pointed out by @CCASTM, the complete list can be found in the STM32Cube_MCU_Overall_Offer repo, for instance, the list of all HAL-LL drivers published separately in dedicated repos.

Thank you again for having tackled the subject. Please allow me to close this thread.

With regards,