Skip to content

Conversation

@etienne-lms
Copy link
Collaborator

Update scripts/serie_update.py to consider peripheral HAL util source file in generated CMakeLists.txt files.

Update HAL to recently release STM32CubeXXX versions:

  • stm32h7rsxx bump from 1.2.0 to 1.3.0
  • stm32l4xx bump from 1.18.1 to 1.18.2
  • stm32l5xx bump from 1.5.1 to 1.6.0
  • stm32n6xx bump from 1.2.0 to 1.3.0

Refine stm32_assert.h implementation for stm32g0xx, stm32u0xx and stm32mp2xx.

Remove PAGESIZE definition in stm32mp2xx stm32_hal_legacy.h.

@etienne-lms
Copy link
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Re - generate common_ll headers after Cube updates

Signed-off-by: Etienne Carriere <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Correct HAL module update documentation since ZEPHYR_BASE is not
required.

Signed-off-by: Etienne Carriere <[email protected]>
Fix some missing terminal dot, rephrasing and upper case characters
in the module update scripts documentation.

Signed-off-by: Etienne Carriere <[email protected]>
@etienne-lms
Copy link
Collaborator Author

Comment addressed. The HAL/LL update contnt is the same.
I've appended a commit to remove useless reference to ZEPHYR_BASE in scripts/README.rst file.

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.

5 participants