Skip to content

Conversation

@marwaiehm-st
Copy link
Collaborator

@marwaiehm-st marwaiehm-st commented Apr 8, 2025

  • stm32cube: update stm32wba to cube version V1.6.0

  • stm32cube: update stm32wb to cube version V1.22.0

  • update pinctrl dtsi for STM32WBAxx devices

Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On this last commit, I'm confused of the need be #265 which was merged few weeks ago.
Can you confirm this is required and this matches with latest changes in zephyr repo ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Zephyr repo, we renamed the JTAG reset pin for all the WBA boards.

Screenshot from 2025-04-10 15-31-12

This commit (#265) is adding the pinctrls for WBA6, which already contains the needed JTAG pinctrl debug_njtrst_pb4. Because of that, I added the commit that renames debug_jtrst_pb4 to debug_njtrst_pb4 for the WBA5 boards.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the commit message to be more significant to the modifications.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marwaiehm-st I remember this topic was closed. By the way... Please be sure to align the zephyr part also:
https://github.com/zephyrproject-rtos/zephyr/blob/68b2e7d677cc17f668df4f2d693b6296d4cf8201/dts/arm/st/wba/stm32wba.dtsi#L505

Otherwise I guess we will be not able to compile for WBA after this PR will be merged.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asm5878 This modification is aligned with the changes in the PR that adds support for the WBA6 boards: zephyrproject-rtos/zephyr#88407
You are right, it will cause a build failure, so the two PRs (Zephyr and HAL) should be merged at the same time.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, it will cause a build failure, so the two PRs (Zephyr and HAL) should be merged at the same time.

Ok, so we should ensure that Zephyr PR is ready before merging current PR (to avoid hal PR is merged in between).
To achieve this, can you put the Zephyr PR in ready for review ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, I have put it ready for review.

Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved but DNM until Zephyr PR is also closed to be merged.

Copy link
Collaborator

@asm5878 asm5878 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me also, but DNM until zephyr PR is ready

@erwango
Copy link
Member

erwango commented Apr 14, 2025

Please rebase

marwaiehm-st and others added 4 commits April 14, 2025 09:40
Update Cube version for STM32WBxx series
on https://github.com/STMicroelectronics
from version v1.20.0
to version v1.22.0

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Update Cube version for STM32WBAxx series
on https://github.com/STMicroelectronics
from version v1.5.0
to version v1.6.0

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Re - generate common_ll headers after Cube updates

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
 Renamed 'debug_jtrst_pb4' to 'debug_njtrst_pb4'
 for STM32WBA5 boards.
 Ensured consistency with the existing pinctrl
 definitions for STM32WBA6 boards.

Signed-off-by: F. Ramu <[email protected]>
Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
@erwango erwango merged commit f467d8e into zephyrproject-rtos:main Apr 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants