HAL versionupdate for H7RS/L4/L5/N6 + minor cleaning for G0/U0/MP2#331
Merged
erwango merged 15 commits intozephyrproject-rtos:mainfrom Jan 6, 2026
Merged
HAL versionupdate for H7RS/L4/L5/N6 + minor cleaning for G0/U0/MP2#331erwango merged 15 commits intozephyrproject-rtos:mainfrom
erwango merged 15 commits intozephyrproject-rtos:mainfrom
Conversation
42833e5 to
2a16101
Compare
Collaborator
Author
|
Comment addressed. |
Consider HAL util source files, named stm32<series>xx_util_<driver>.c (e.g. stm32n6xx_util_i3c.c) that are related to Zephyr STM32 configuration symbol CONFIG_USE_STM32_UTIL_<DRIVER> (e.g. CONFIG_USE_STM32_UTIL_I3C) and should be built when the config symbol is enabled. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32H7RSxx series on https://github.com/STMicroelectronics from version v1.2.0 to version v1.3.0 Sync stm32_assert.h with other SoCs HAL by including header file stm32h7rsxx_hal_conf.h instead of defining assert_failed() macro that is already defined by that header file. Add references in README file to Zepĥyr STM32 HAL pull requests for the main local patches. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32L4xx series on https://github.com/STMicroelectronics from version v1.18.1 to version v1.18.2 Remove local patch on UNUSED macro that is no more needed. Remove local patch on LL_EXTI_LINE_18/LL_EXTI_LINE_20 definition, see commit 6b4308f ("ext/hal: stm32cube: fix exti declaration in STM32L4") that is not needed. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32L5xx series on https://github.com/STMicroelectronics from version v1.5.1 to version v1.6.0 Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32N6xx series on https://github.com/STMicroelectronics from version v1.2.0 to version v1.3.0 Add references in README file to Zepĥyr STM32 HAL pull requests for main local patches applied. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Re - generate common_ll headers after Cube updates Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Remove stm32_assert_template.h from STM32G0xx HAL for consistency with other SoCs HAL immplementation: assert_failed() macro is implemented in stm32g0xx_hal_conf.h and stm32_assert.h includes this header file. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Remove stm32_assert_template.h from STM32U0xx HAL for consistency with other SoCs HAL immplementation: assert_failed() macro is implemented in stm32u0xx_hal_conf.h and stm32_assert.h includes this header file. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Remove local definition of PAGESIZE (related in HAL to a flash page size) in STM32MP2xx HAL since it conflicts with POSIX. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Refine implementation of STM32 assertion macro assert_failed() in STM32MP2xx HAL for consistency with other SoCs HAL: the macro is implemented in stm32mp2xx_hal_conf.h and stm32_assert.h includes this header file. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Refine implementation of STM32 assertion macro assert_failed() in STM32U3xx HAL for consistency with other SoCs HAL: the macro is implemented in stm32u3xx_hal_conf.h and stm32_assert.h includes this header file. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2a16101 to
ccae3ae
Compare
Collaborator
Author
|
Comment addressed. The HAL/LL update contnt is the same. |
gautierg-st
approved these changes
Dec 19, 2025
erwango
approved these changes
Dec 19, 2025
ABESTM
reviewed
Jan 5, 2026
Contributor
ABESTM
left a comment
There was a problem hiding this comment.
Just one point regarding the I3C util files. Otherwise LGTM.
Contributor
There was a problem hiding this comment.
I think this should be applied to other families supporting I3C as well.
This should be H5, N6, MP2 and U3.
Collaborator
Author
There was a problem hiding this comment.
Thanks for the notif.
MP2 and N6 already consider stm32<soc>_util_i3c.c.
I'll update the CMakeLists.txt files for for H5 and U3.
Build stm32u3xx_util_i3c.c driver when CONFIG_USE_STM32_UTIL_I3C config symbol is enable. This manual change will not be needed on next STM32H5 HAL release update since serie_update.py script now handles this config and source file. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Build stm32h5xx_util_i3c.c driver when CONFIG_USE_STM32_UTIL_I3C config symbol is enable. This manual change will not be needed on next STM32H5 HAL release update since serie_update.py script now handles this config and source file. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Correct HAL module update documentation since ZEPHYR_BASE is not required. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Fix some missing terminal dot, rephrasing and upper case characters in the module update scripts documentation. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
mathieuchopstm
approved these changes
Jan 6, 2026
a385bc8 to
e583808
Compare
Collaborator
Author
|
Comment #331 (comment) addressed. |
ABESTM
approved these changes
Jan 6, 2026
erwango
approved these changes
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update scripts/serie_update.py to consider peripheral HAL util source file in generated CMakeLists.txt files.
Update HAL to recently release STM32CubeXXX versions:
Refine stm32_assert.h implementation for stm32g0xx, stm32u0xx and stm32mp2xx.
Remove PAGESIZE definition in stm32mp2xx stm32_hal_legacy.h.