Repository navigation
fix(nxplpc): bump built-in LPC8xx core to 547b5a7 - #2078
Conversation
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
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
E2E evidence: a dev build of this branch (
|
…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()
Fixes #2075
What
Bumps the built-in
framework-arduino-lpc8xxpin from9e8be02to547b5a7(FastLED/framework-arduino-lpc8xx#42, plus #39 in between):pinMode()maps through theIOCON_INDEX_PIO0_ntable, so pulls now land on the right pad. AddsINPUT_PULLDOWN. HardFault/NMI go through a naked trampoline that reads the stacked frame before the C prologue moves SP..ramfunc*sections are collected into.datainlpc8xx_common.ld.ACLPC_VERSIONmoves to0.2.4+g547b5a7, which gives the new core a fresh cache key.ACLPC_CHECKSUMisc504510c95c63308acdabf11d8515dbde800b55ab267457bad44a3bf4bce7df7, computed from two identical downloads ofhttps://github.com/FastLED/framework-arduino-lpc8xx/archive/547b5a7053f60c59bbd86e9c6796bebae07c8241.tar.gz.Include paths
9e8be02..547b5a7changesplatform.txtto add-I variants/{build.lpc_family}and-I CMSIS, andboards.txtgainsbuild.lpc_family. These are needed becausewiring_digital.cnow includesfsl_device_registers.h. The nxplpc orchestrator already passescore.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_packagesnxplpc 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'splatform.jsonby default is not a cheap change:resolve_registry_overridesonly 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.