Skip to content

fix(nxplpc): bump built-in LPC8xx core to 547b5a7 - #2078

Merged
zackees merged 1 commit into
mainfrom
fix/lpc8xx-core-547b5a7
Nov 18, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/lpc8xx-core-547b5a7

Conversation

@zackees

@zackees zackees commented Nov 18, 2026

Copy link
Copy Markdown
Member

Fixes #2075

What

Bumps the built-in framework-arduino-lpc8xx pin from 9e8be02 to 547b5a7 (FastLED/framework-arduino-lpc8xx#42, plus #39 in between):

ACLPC_VERSION moves to 0.2.4+g547b5a7, which gives the new core a fresh cache key. ACLPC_CHECKSUM is c504510c95c63308acdabf11d8515dbde800b55ab267457bad44a3bf4bce7df7, computed from two identical downloads of https://github.com/FastLED/framework-arduino-lpc8xx/archive/547b5a7053f60c59bbd86e9c6796bebae07c8241.tar.gz.

Include paths

9e8be02..547b5a7 changes platform.txt to add -I variants/{build.lpc_family} and -I CMSIS, and boards.txt gains build.lpc_family. These are needed because wiring_digital.c now includes fsl_device_registers.h. The nxplpc orchestrator already passes core.variant_dir(lpc_family) plus the CMSIS core include dir, so fbuild needs no change here. The core source list (cores/lpc8xx/*) is unchanged.

platform_packages

nxplpc already honors a platform_packages = framework-arduino-lpc8xx@<url>#<sha> override (#663/#681). FastLED#5264 uses that today. Picking up the framework pin from a git-URL platform's platform.json by default is not a cheap change: resolve_registry_overrides only resolves registry-pinned platforms, and doing the same for git-URL platforms would mean fetching the platform repo during package resolution. That is out of scope here and left for a follow-up.

Pins framework-arduino-lpc8xx to 547b5a7 (#39 .ramfunc section, #42
IOCON-index pinMode + INPUT_PULLDOWN + naked HardFault trampoline).
sha256 of the GitHub archive computed from two identical downloads.
No include-path change: the new platform.txt CMSIS include line matches
what the nxplpc orchestrator already passes.

Fixes #2075
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@zackees

zackees commented Nov 18, 2026

Copy link
Copy Markdown
Member Author

E2E evidence: a dev build of this branch (target/debug/fbuild, FBUILD_DEV_MODE=1) built FastLED Blink for env lpc845 (platform = nxplpc@https://github.com/FastLED/platform-nxp-lpc8xx.git#4804de6…, no platform_packages override) from a snapshot of FastLED master 505cd2f.

  • Core resolved to platforms/FastLED-framework-arduino-lpc8xx/…/0.2.4+g547b5a7/framework-arduino-lpc8xx-547b5a7053f60c59bbd86e9c6796bebae07c8241. The checksum was verified by the staged install, and all 567 framework path references in the build dir are 547b5a7, with no references to 9e8be02.
  • Build succeeded: Flash 13.64KB / 64KB, RAM 1.61KB / 16KB.
  • firmware.map links lpc8xx_fault_report and the naked HardFault_Handler (both new in Add native extra_scripts flag runtime bridge #42), so the core compiled with the existing include set.
    Not flashed: another worker owns the LPC845 board.

@zackees
zackees added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit b94d8f2 Nov 18, 2026
31 checks passed
@zackees
zackees deleted the fix/lpc8xx-core-547b5a7 branch November 18, 2026 09:24
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 19, 2026
sutaburosu pushed a commit to sutaburosu/FastLED that referenced this pull request Nov 19, 2026
…ly the handshake timeout (FastLED#5293)

* ci(fbuild): require fbuild 2.5.52, drop the LPC8xx core pin, retry only the handshake timeout

fbuild 2.5.52 builds the LPC8xx core at 547b5a7 itself (FastLED/fbuild#2078),
so ci/boards.py no longer needs the framework-arduino-lpc8xx platform_packages
override on the five LPC boards.

2.5.52 also fixes the 'session closed' serial attach of FastLED#5271
(FastLED/fbuild#2083, FastLED#2084, FastLED#2089): the client now reports the daemon's
reason, so the retry's 'session closed' match was dead. What remains on a
CPU-starved host is the client's 5 s handshake timeout (FastLED/fbuild#2095):
0 of 133 attaches failed at this host's own load (18-97), 11 of 16 at load
73-106 and 54 of 56 at 106-148 with CPU hogs added. NativeFbuildSerialAdapter
now retries that timeout once without restarting the daemon, and a lost daemon
still gets its own single restart.

Also silence an unused-variable warning in SlimBridgeController on targets
where FL_WARN_EVERY compiles out (seen in the lpc845 Blink build).

Refs FastLED#5268, FastLED#5271, FastLED#5264

* fix: address CodeRabbit review feedback

- Attach the retried handshake-timeout note to the error when the
  lost-daemon restart (ensure_fbuild_daemon) itself raises, so RpcBench
  still reports the first attempt; regression test added.

* ci(serial): mark the daemon-restart try as KBI-handled by connect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

nxplpc: built-in LPC8xx core 9e8be02 has wrong-pad pinMode pulls and a broken HardFault frame; bump to 547b5a7

1 participant