Skip to content

MSPM0: Update mspm0-metapac - #6652

Open
CordlessCoder wants to merge 2 commits into
embassy-rs:mainfrom
CordlessCoder:mspm0-chiptool-bump
Open

MSPM0: Update mspm0-metapac#6652
CordlessCoder wants to merge 2 commits into
embassy-rs:mainfrom
CordlessCoder:mspm0-chiptool-bump

Conversation

@CordlessCoder

@CordlessCoder CordlessCoder commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

mspm0-metapac just landed a large breaking change due to a chiptool update, this PR resolves the breaks caused by that change.

Changes:

  • Replace SCREAMING_SNAKE_CASE pac names with PascalCase.
  • Replace as casts with .to_bits()

This PR is written on top of #6646, so this will be ready to merge after the low-power executor.

chiptool now generates register values in PascalCase rather than
SCREAMING_SNAKE, and emits the key/index fieldsets as newtypes carrying
associated constants instead of enums.

No functional change.
@leftger leftger added the e-mspm0 Issues for the MSPM0 family of chips label Jul 29, 2026
Comment thread embassy-mspm0/src/low_power/c110x.rs
@CordlessCoder CordlessCoder changed the title MSPM0 chiptool bump MSPM0: Update mspm0-metapac Jul 30, 2026
@CordlessCoder
CordlessCoder marked this pull request as draft July 30, 2026 09:33
@bespsm

bespsm commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Is it a deal breaker to keep only mspm0-metapac updates in this PR ? it would take less time to merge...
I'm asking, because I have a small PR in mspm0-data and have to deal with the metapac updates here, in embassy.

@CordlessCoder

Copy link
Copy Markdown
Contributor Author

Is it a deal breaker to keep only mspm0-metapac updates in this PR ? it would take less time to merge... I'm asking, because I have a small PR in mspm0-data and have to deal with the metapac updates here, in embassy.

No, I can reorder the two PRs if that's easier for you - but they're in the order they're in because I implemented low-power before the breaking changes in metapac.

I'm hoping low-power-core should be merged very soon.

@CordlessCoder
CordlessCoder marked this pull request as ready for review August 1, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e-mspm0 Issues for the MSPM0 family of chips

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants