Skip to content

feat(boards): promote lpc845 to preferred name, deprecate lpc845brk alias (#3220) - #3497

Merged
zackees merged 1 commit into
masterfrom
feat/3220-rename-lpc845
Jul 1, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/3220-rename-lpc845

Conversation

@zackees

@zackees zackees commented Jul 1, 2026 •

Copy link
Copy Markdown
Member

Summary

The LPC845 canary target has historically been named lpc845brk after the specific breakout board. That name leaks a form-factor spelling into user-facing commands where the target is really the LPC845 chip family and the breakout is just the reference board. #3220 tracks the rename to lpc845 — clearer, easier to discover, consistent with the other family targets.

Both boards already existed in ci/boards.py. This change:

  • Promotes LPC845 above LPC845BRK in the declaration order.
  • Adds explicit "preferred" / "deprecated alias" docstrings.
  • Updates the two remaining docs / examples that still spell lpc845brk:
    • agents/docs/hardware-autoresearch.md — usage example now uses lpc845 with a callout that lpc845brk still works as a deprecated alias.
    • examples/AutoResearch/AutoResearch.ino — filter-header board list adds lpc845 alongside the existing lpc845brk entry so the example matrix CI covers both spellings during the transition.

ci/util/port_utils.py and ci/autoresearch/phases.py already accept both names via LPC_WS2812_ENVS = {\"lpc845brk\", \"lpc845\", \"lpcxpresso845max\"} — no code changes needed there.

Deprecation timeline

lpc845brk stays as a working alias for at least one release / CI cycle per #3220's acceptance criterion. A follow-up (post-silicon validation) can remove the alias once no downstream sketch or CI matrix references it.

Tests

  • Board config imports both names, same platform pin.
  • ruff check ci/boards.py clean.
  • `pytest ci/tests/test_board_to_platformio_ini.py` 3/3 pass.

Closes #3220.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated hardware AutoResearch usage examples to show the preferred lpc845 target for IEEE 754 checks.
    • Clarified that lpc845brk is still available as a deprecated alias.
  • Bug Fixes

    • Aligned supported board references so examples and board selection use the same canonical lpc845 name.
    • Kept backward compatibility for existing lpc845brk workflows during the transition.

…k` alias (#3220)

The LPC845 canary target has historically been named `lpc845brk` after
the specific breakout board. That name leaks a form-factor spelling
into user-facing commands (`bash compile lpc845brk`, `bash
autoresearch lpc845brk --pin-toggle-rx`) where the target is really
the LPC845 chip family and the breakout is just the reference board.
FastLED #3220 tracks the rename to `lpc845` — clearer, easier to
discover, and consistent with the other family targets.

Both boards already existed in `ci/boards.py` since PR #3040 landed
the LPC8xx family. This change promotes `LPC845` above `LPC845BRK` in
the declaration order, adds explicit "preferred" / "deprecated alias"
docstrings, and updates the two remaining docs / examples that still
name `lpc845brk`:

  - `agents/docs/hardware-autoresearch.md` — usage example now says
    `bash autoresearch lpc845 --ieee754` with a callout that
    `lpc845brk` still works as a deprecated alias.
  - `examples/AutoResearch/AutoResearch.ino` — filter-header board
    list adds `lpc845` alongside the existing `lpc845brk` entry so
    example matrix CI covers both spellings during the transition.

`ci/util/port_utils.py` and `ci/autoresearch/phases.py` already accept
both names via `LPC_WS2812_ENVS = {"lpc845brk", "lpc845", "lpcxpresso845max"}`
— no code changes needed there.

## Deprecation timeline

`lpc845brk` stays as a working alias for at least one release / CI
cycle per #3220's acceptance criterion. A follow-up (post-silicon
validation) can remove the alias once no downstream sketch or CI
matrix references it.

## Tests

- `uv run python -c "from ci.boards import LPC845, LPC845BRK; ..."` →
  both board names resolve, same platform pin.
- `ruff check ci/boards.py` → clean.
- `pytest ci/tests/test_board_to_platformio_ini.py` → 3/3 pass.

Closes #3220.

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

coderabbitai Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bdb496b2-4307-4ca6-bee1-426dfbbf3930

📥 Commits

Reviewing files that changed from the base of the PR and between 0e42532 and a835ba7.

📒 Files selected for processing (3)
  • agents/docs/hardware-autoresearch.md
  • ci/boards.py
  • examples/AutoResearch/AutoResearch.ino

📝 Walkthrough

Walkthrough

The LPC845 board target is renamed from lpc845brk to lpc845 as the canonical name, with lpc845brk retained as a deprecated alias. Changes span the board definitions, the AutoResearch example's board filter, and documentation examples.

Changes

LPC845 Target Rename

Layer / File(s) Summary
Board target definition and deprecation notice
ci/boards.py
LPC845 is now defined before LPC845BRK, with comments documenting LPC845 as the preferred/canonical target and LPC845BRK as a deprecated alias for backward compatibility.
Example sketch and docs updated to new target name
examples/AutoResearch/AutoResearch.ino, agents/docs/hardware-autoresearch.md
The sketch's @filter board allowlist switches to lpc845, and the docs' IEEE754 command example and note are updated to use lpc845 while noting lpc845brk remains a deprecated alias.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • FastLED/FastLED#3014: Directly involves the same lpc845brk-to-lpc845 transition in ci/boards.py and the AutoResearch board filter.
  • FastLED/FastLED#3041: Also modifies the LPC AutoResearch board filter directive in examples/AutoResearch/AutoResearch.ino.
  • FastLED/FastLED#3209: Touches the same LPC845 board target setup in ci/boards.py.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/3220-rename-lpc845

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.

@zackees
zackees merged commit b66907e into master Jul 1, 2026
7 of 10 checks passed
@zackees
zackees deleted the feat/3220-rename-lpc845 branch July 1, 2026 07:25
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jul 1, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jul 1, 2026
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.

Rename LPC board target lpc845brk to lpc845

1 participant