Skip to content

docs(platform/lpc): add family README (#2867) - #2868

Merged
zackees merged 1 commit into
masterfrom
feat/2867-lpc-readme
Jun 6, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/2867-lpc-readme

Conversation

@zackees

@zackees zackees commented Jun 6, 2026 •

Copy link
Copy Markdown
Member

Closes #2867. Closes the "LPC port added to FastLED platform support matrix doc" acceptance criterion from #2845 Stage 3.

Summary

Every other ARM family directory under src/platforms/arm/ ships a README.md (nrf51, d21, d51, giga, k20, k66, kl26, mxrt1062, nrf52, renesas, rp, sam, stm32, teensy, …). lpc/ was the only one missing. This adds it, covering the work shipped so far:

  • LPC845 / LPC804 driver inventory (bit-bang default + optional PLU / PWM+DMA opt-ins)
  • Optional feature defines (FASTLED_LPC_PLU, FASTLED_LPC_PWM_DMA, FASTLED_LPC_PWM_DMA_BASECH, FASTLED_LPC_PWM_DMA_CHUNK_BITS)
  • fbuild build instructions (no PlatformIO upstream for lpc845 / lpc804)
  • LPC11xx (Cortex-M0) and LPC15xx (Cortex-M3) detection scaffolds, with pointers to the GPIO controller differences that block reuse of the LPC8xx FastPin template
  • Full PR + NXP UM10398 / UM10462 / UM11029 / UM11065 / UM11074 references

Out of scope

  • wiki/Overview.md update (LPC8XX is still listed as "upcoming") — the wiki is a separate Git submodule pushed without PR review. Defer to maintainer.
  • Source changes — markdown only.

Test plan

  • bash lint — clean (no C++ / Python / JS / Meson regressions)
  • No source files touched; no test run needed

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added comprehensive documentation for NXP LPC platform support, including details on supported LPC families and cores, per-chip driver status, compilation features, build system configuration guidance, and reference materials for LPC microcontroller integration.

Closes #2867. Closes the "LPC port added to FastLED platform support matrix
doc" acceptance criterion from #2845 Stage 3.

Every other ARM family directory under `src/platforms/arm/` ships a
`README.md` (nrf51, d21, d51, giga, k20, k66, kl26, mxrt1062, nrf52, renesas,
rp, sam, stm32, teensy, …) — `lpc/` was the only one missing.

Covers what's shipped today:

- LPC845 / LPC804 driver inventory (bit-bang + optional PLU/PWM+DMA opt-ins)
- Supported chip variants and per-driver TODO links
- Optional feature defines (`FASTLED_LPC_PLU`, `FASTLED_LPC_PWM_DMA`,
  `FASTLED_LPC_PWM_DMA_BASECH`, `FASTLED_LPC_PWM_DMA_CHUNK_BITS`)
- fbuild build instructions (no PlatformIO upstream for lpc845 / lpc804)
- LPC11xx (Cortex-M0) and LPC15xx (Cortex-M3) detection scaffolds with
  pointers to the GPIO controller differences that block reuse of the
  LPC8xx FastPin template
- Full PR / UM10398 / UM10462 / UM11029 / UM11065 / UM11074 references

Markdown-only — no source changes, no build impact.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 6, 2026 •

Copy link
Copy Markdown

Too much diff to scan? Review this PR in Change Stack to start with the highest-impact changes.

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 582e0944-0330-4917-a593-1b64df064daf

📥 Commits

Reviewing files that changed from the base of the PR and between 1041176 and a3522c7.

📒 Files selected for processing (1)
  • src/platforms/arm/lpc/README.md

📝 Walkthrough

Walkthrough

Added src/platforms/arm/lpc/README.md documenting NXP LPC platform support in FastLED, including supported chip variants, per-chip status and drivers, header files, optional compile-time feature macros, fbuild build system integration, and detection scaffold scope for LPC11xx/LPC15xx bring-up.

Changes

LPC Platform Documentation

Layer / File(s) Summary
LPC platform documentation
src/platforms/arm/lpc/README.md
Comprehensive README detailing implemented LPC845/LPC804 drivers (bit-banged M0+, optional PLU and PWM+DMA), detection scaffolds for LPC11xx/LPC15xx, feature macros, header file purposes, fbuild build instructions for LPC8xx, detection macro scope, and references to FastLED issues/PRs and NXP manuals.

Possibly Related Issues

  • #2865: The README documents LPC8xx vs LPC11xx/LPC15xx detection scaffolds and driver scope, which directly relates to scoping LPC8xx-only headers and drivers.

Poem

🐰 A README hops into the LPC nest,
Mapping chips and macros—documentation blessed!
Platform scope now clear and bright,
Detection scaffolds shining in the light! ✨


🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title clearly describes the main change: adding a README documentation file to the LPC platform directory, which matches the changeset.
Linked Issues check ✅ Passed The PR fully addresses all acceptance criteria from issue #2867: adds README.md in markdown-only format, documents chip variants, optional feature defines, fbuild instructions, detection scaffolds, and ensures bash lint compliance.
Out of Scope Changes check ✅ Passed The changeset contains only markdown documentation additions to README.md with no source code modifications, staying within the documented scope of documentation-only changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/2867-lpc-readme

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

docs(platform/lpc): add src/platforms/arm/lpc/README.md (closes #2845 Stage 3 doc criterion)

1 participant