stm32: clean up usage of HAL Legacy definitions#108271
Merged
kartben merged 2 commits intoMay 4, 2026
Merged
Conversation
This macro is now called "SAI_MASTERDIVIDER_DISABLE" (no 'D' at the end); stop using the old name which only worked thanks to the HAL Legacy definitions header. Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Replace use of legacy STM32Cube HAL macros in the STM32H5-specific test
"tests/drivers/clock_control/stm32_clock_configuration/stm32h5_core":
__HAL_RCC_GET_PLL_OSCSOURCE() => __HAL_RCC_GET_PLL1_OSCSOURCE()
RCC_PLLSOURCE_xxx => RCC_PLL1_SOURCE_xxx
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
|
erwango
approved these changes
Apr 30, 2026
gautierg-st
approved these changes
Apr 30, 2026
Contributor
Author
|
Reassigning to @erwango - this touches STM32-only code. |
etienne-lms
approved these changes
May 4, 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.



Some STM32 code is using HAL1 Legacy definitions. Update such code to use the actual APIs instead of the backwards compatibility aliases.
This is a preliminary step in anticipation of zephyrproject-rtos/hal_stm32#321.