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: stm32cube: genpinctrl for debug_njtrst pinout #264

Closed
wants to merge 1 commit into from

Conversation

FRASTM
Copy link
Collaborator

@FRASTM FRASTM commented Mar 4, 2025

Generates the debug_njtrst_pb4 pin for the stm32wba65x serie where the PB4(NJRST) is named "DEBUG_NJTRST"

from STM32WBA65RIVx.xml

    <Pin Name="PB4(NJRST)" Position="32" Type="I/O">
        <Signal Name="DEBUG_NJTRST"/>

to stm32wba65rivx-pinctrl.dtsi

			/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
				pinmux = <STM32_PINMUX('B', 4, AF0)>;
			};

Generates the debug_njtrst_pb4 pin for the stm32wba65x serie
where the PB4(NJRST) is named "DEBUG_NJTRST"

Signed-off-by: F. Ramu <francois.ramu@st.com>
@FRASTM FRASTM changed the title scripts: stm32cube: genpinctrl for stm32wba debug pinout scripts: stm32cube: genpinctrl for debug_njtrst pinout Mar 4, 2025
@FRASTM FRASTM marked this pull request as ready for review March 4, 2025 15:47
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.

Changes are fine and (tested at my side).
Please take care to update the correct naming in Zephyr.
For instance in dts/arm/st/wba.dtsi

Otherwise we will have problems in compilation

@FRASTM
Copy link
Collaborator Author

FRASTM commented Mar 6, 2025

Changes are fine and (tested at my side). Please take care to update the correct naming in Zephyr. For instance in dts/arm/st/wba.dtsi

Otherwise we will have problems in compilation

done with zephyrproject-rtos/zephyr#86702

@FRASTM
Copy link
Collaborator Author

FRASTM commented Mar 20, 2025

closed at included in the #265

@FRASTM FRASTM closed this Mar 20, 2025
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