Repository navigation
feat(boards): promote lpc845 to preferred name, deprecate lpc845brk alias (#3220) - #3497
Merged
Merged
Conversation
…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]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe LPC845 board target is renamed from ChangesLPC845 Target Rename
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Closed
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The LPC845 canary target has historically been named
lpc845brkafter 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 tolpc845— clearer, easier to discover, consistent with the other family targets.Both boards already existed in
ci/boards.py. This change:LPC845aboveLPC845BRKin the declaration order.lpc845brk:agents/docs/hardware-autoresearch.md— usage example now useslpc845with a callout thatlpc845brkstill works as a deprecated alias.examples/AutoResearch/AutoResearch.ino— filter-header board list addslpc845alongside the existinglpc845brkentry so the example matrix CI covers both spellings during the transition.ci/util/port_utils.pyandci/autoresearch/phases.pyalready accept both names viaLPC_WS2812_ENVS = {\"lpc845brk\", \"lpc845\", \"lpcxpresso845max\"}— no code changes needed there.Deprecation timeline
lpc845brkstays 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
ruff check ci/boards.pyclean.Closes #3220.
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
lpc845target for IEEE 754 checks.lpc845brkis still available as a deprecated alias.Bug Fixes
lpc845name.lpc845brkworkflows during the transition.