STM32Cube firmware repositories now use Git submodules so you can receive bug fixes more frequently! #27
ALABSTM
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
STM32Cube firmware repositories now use Git submodules so you can receive bug fixes more frequently!
Great news! STM32Cube firmware repositories will feature links to point to the different submodules, i.e., the repositories hosting the STM32 components that the firmware is based on. For instance, the repository STM32CubeC0 will include the links to the cmsis_device_c0 and the stm32c0xx_hal_driver repositories, among others.
What this means for you
When new bug fixes are pushed to the STM32 components repositories, developers using the STM32Cube firmware repositories will also receive them!
Please note that, following this change, the option
--recursive
should be used to clone the STM32Cube firmware repositories properly, as shown in the example below.Please also note that, following this change, downloading the repository as a ZIP file will not fetch the submodules along with the rest of the firmware. In this case, you can either:
Finally, please note that for the same release version, the firmware cloned from GitHub might have a different content than the one downloaded from st.com or via STM32CubeMX. This is due to click-thru licensed components which are not published on GitHub. More details in this post.
We are gradually implementing this new approach using the Git submodules. The table below indicates the components that have been already replaced by links to submodules within each repository. This table will be updated regularly as the deployment unfolds.
Enjoy our STM32Cube offer and stay tuned!
Beta Was this translation helpful? Give feedback.
All reactions