Skip to content

Name HPM and the .syscfg/.hpmpc inputs in the help of libxr pins - #27

Merged
Jiu-xiao merged 1 commit into
devfrom
fix/cli-help-20261007
Oct 8, 2026
Merged

Jiu-xiao merged 1 commit into
devfrom
fix/cli-help-20261007

Conversation

@Jiu-xiao

@Jiu-xiao Jiu-xiao commented Oct 8, 2026

Copy link
Copy Markdown
Member

The help of libxr pins still described STM32 and MSPM0 only, and said that -d reads the ti_msp_dl_config.h of an MSPM0 project. The command supports HPM as well and reads the root .syscfg of an MSPM0 project and the .hpmpc under boards/ of an HPM project.

What changes

  • Description: STM32, MSPM0, HPM.
  • -d: names the STM32CubeMX .ioc, the root SysConfig .syscfg of an MSPM0 and the .hpmpc under boards/ of an HPM.
  • -p: HPM package example (QFN48); with -d the package comes from the SysConfig or Pinmux Tool project.
  • Examples: libxr pins HPM5301 added.

Only src/libxr/cli.py (help strings) changes; no behavior change.

Verification

  • python -m unittest discover -s tests -p "test_*.py": 505 tests OK (6 skipped); ruff check and ruff format --check clean.
  • libxr pins -h output checked.

The help still said STM32 and MSPM0 only and that -d reads the
ti_msp_dl_config.h of an MSPM0; libxr pins supports HPM too and reads the root
.syscfg of an MSPM0 and the .hpmpc of an HPM. An HPM example is added.
@Jiu-xiao
Jiu-xiao merged commit 947799d into dev Oct 8, 2026
54 checks passed
@Jiu-xiao
Jiu-xiao deleted the fix/cli-help-20261007 branch October 11, 2026 02:33
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.

1 participant