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

stm32: pm: Enable to driver JTAG port pns to analog when not required #63495

Merged

Commits on Jan 16, 2024

  1. boards: nucleo_wba52cg: Enable flash and debug using OpenOCD

    OpenOCD can now be used to flash and debug nucleo_wba52cg.
    However it required use of STMicroelectronics OpenOCD fork.
    
    Add instructions on how to use it.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    54c6a4c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. west.yml: hal_stm32: Use SW/JTAG signals description

    SW/JTAG signals description are useful when we don't need them.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    afbfb29 View commit details
    Browse the repository at this point in the history
  2. soc: stm32: PM: Disable jtag port pins if no debug

    At chip startup, jtag pins are configured by default to enable
    debug.
    This configuration adds consumption and when using PM profile,
    we can save ~40uA by resetting this configuration and setting pins
    to analog mode.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    31a8dbf View commit details
    Browse the repository at this point in the history
  3. dts: stm32u5: Add SW/JTAG debug port node

    Provide jtag port pins description, so they can be used to be set in
    analog mode when not required to save power (around 40uA saved in total).
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    432ed28 View commit details
    Browse the repository at this point in the history
  4. include: pinctrl.h: Make PINCTRL_SKIP_SLEEP available with CONFIG_PM

    In some cases, PINCTRL_STATE_SLEEP may be required even when
    CONFIG_PM_DEVICE is not defined.
    One example is the possibility/need to put JTAG pins to analog when
    CONIG_PM=y and CONFIG_DEBUG=n.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    8fbf9bd View commit details
    Browse the repository at this point in the history