Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts: serie_update: add Git commands to fetch HAL Drivers Git submodules #182

Merged

Conversation

ajarmouni-st
Copy link
Contributor

STM32Cube HAL drivers are now included as Git submodules in the upstream STM32Cube repositories. So we need additional commands to fetch them.
For "git clone", we need to add --recursive or "--recurse-submodules".
For "git fetch", if it's the 1st time the local Cube directories are updated after the change in the upstream repositories, "git submodule update --init" is needed to specifically fetch the HAL Drivers submodules.

STM32Cube HAL drivers are now included as git submodules in the upstream
STM32Cube repositories. So we need additional commands to fetch them.

Signed-off-by: Abderrahmane Jarmouni <[email protected]>
@ajarmouni-st ajarmouni-st marked this pull request as draft November 17, 2023 15:31
@ajarmouni-st ajarmouni-st marked this pull request as ready for review November 20, 2023 10:50
@ajarmouni-st ajarmouni-st deleted the dev_cube_update_c3.6.0 branch November 20, 2023 10:54
@ajarmouni-st ajarmouni-st restored the dev_cube_update_c3.6.0 branch November 20, 2023 10:55
@ajarmouni-st ajarmouni-st reopened this Nov 20, 2023
@erwango erwango merged commit 818cef7 into zephyrproject-rtos:main Nov 20, 2023
8 checks passed
erwango pushed a commit that referenced this pull request Dec 1, 2023
This reverts commit 818cef7.
Changes introduced in 818cef7 (PR #182) are not enough to update
Cube packages correctly following the introduction of submodules in
the upstream STM32Cube GitHub repos. PR #184 gives a more effective
solution.

Signed-off-by: Abderrahmane Jarmouni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants