Skip to content

Add LPC55S16 support.#5566

Merged
i509VCB merged 4 commits intoembassy-rs:mainfrom
wt:add_lpc55s16
Mar 13, 2026
Merged

Add LPC55S16 support.#5566
i509VCB merged 4 commits intoembassy-rs:mainfrom
wt:add_lpc55s16

Conversation

@wt
Copy link
Contributor

@wt wt commented Mar 3, 2026

This is a a draft of my work to add lpc55s16 support. This currently depends on embassy-rs/nxp-pac#30 to land and this embassy-nxp dependencies to be updated afterwards.

@wt wt marked this pull request as draft March 3, 2026 07:43
@wt
Copy link
Contributor Author

wt commented Mar 6, 2026

With the landing of embassy-rs/nxp-pac#30, this change is also ready to be reviewed for landing.

@wt wt marked this pull request as ready for review March 6, 2026 06:55
@wt wt force-pushed the add_lpc55s16 branch 5 times, most recently from 0f5dab0 to dd9aaac Compare March 12, 2026 08:53
@wt
Copy link
Contributor Author

wt commented Mar 12, 2026

I moved this back to draft as I found a bug in nxp-pac that prevents this change from working. See embassy-rs/nxp-pac#56

@wt wt marked this pull request as draft March 12, 2026 10:08
@wt wt marked this pull request as ready for review March 12, 2026 20:04
@wt
Copy link
Contributor Author

wt commented Mar 12, 2026

The nxp-pac change was landed and I updated this change to use that new commit id, so it's ready for review again.

wt added 4 commits March 12, 2026 13:11
This will get my change to the nxp-pac so that I can add LPC55S16 support.

I also moved the repo to the embassy-rs org's repo.
All the USART pins were changed to only be enabled if relevant pins are
defined in a chip's metadata. This will allow us to update nxp-pac with
metadata and simply update the dependent version in this crate to get
access to those pin traits.

The CTS/RTS/SCK pins are not yet wired up in the usart driver, so I've
annotated them with `#[allow(unused)]` in the meantime.
The dma, pint, and gpio initialization as implemented for lpc55-core0 is also
applicable to LPC55S16. As a result, we should run the init for all lpc55
family chips.
@i509VCB i509VCB added this pull request to the merge queue Mar 13, 2026
Merged via the queue into embassy-rs:main with commit 39d6367 Mar 13, 2026
7 checks passed
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.

2 participants