Skip to content

Conversation

@dragonmux
Copy link
Member

Detailed description

In this PR we overhaul the LPC part support, fixing code style issues, documentation issues, nomenclature issues, and upgrading the IAP support to be more generic across all the parts.

This also includes sorting out the LPC11xx/LPC8xx support (which turns out to also be LPC13xx support) and fixing the giant magic number soup within.

We would greatly appreciate if @mean00 would please test the LPC11U67 support in particular as we overhauled the way those parts are being supported and detected and the TRM was not consistent on whether the Device ID register on that part is at SYSCON +0x3f4 or +0x3f8.

This PR winds up adding support for several more parts in the LPC11xx families too.

Your checklist for this pull request

We are keenly aware that we do not have a significant number of the parts impacted by this PR to test and that what we do have needs to be carefully checked. This will happen over the next several days as and when we can manage it.

Closing issues

…to fix various issues with how it works, including clobbering RAM during scan
…present the information required across all LPC devices
@dragonmux dragonmux added this to the v2.1 release milestone Oct 30, 2025
@dragonmux dragonmux requested a review from esden October 30, 2025 04:38
@dragonmux dragonmux added Enhancement General project improvement New Target New debug target labels Oct 30, 2025
@mean00
Copy link

mean00 commented Oct 30, 2025

Hi, there might have been small misdirect, i dont have LPC chips, mostly using the WCH riscv chips.
Thank you.

@dragonmux
Copy link
Member Author

Per #634 you did have LPC11U6x parts at least 5 years ago, so we were hoping to cash in on you perhaps still having them to be able to poke it; no worries if you don't.

@mean00
Copy link

mean00 commented Oct 30, 2025

ok, that was something i was working with at that time, i dont have access to the board(s) any longer unfortunately

Copy link
Member

@esden esden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@esden esden merged commit eb27e76 into main Nov 3, 2025
43 checks passed
@dragonmux dragonmux deleted the fix/lpc-support-and-code-style branch November 3, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement General project improvement New Target New debug target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants