You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AutoResearch LPC: post-merge review fixes for #5264 (neutrality markers, gate corePullCheck to pin-toggle build, exclude IOCON-identity pins) #5270
Findings from a post-merge review of #5264. CodeRabbit couldn't review it: the merge queue landed it first, and CodeRabbit refuses closed PRs.
Platform-neutrality markers missing (examples/AutoResearch/AutoResearchLowMemory.h ~:404 and ~:628). .claude/skills/code-review/review-rules.md → "examples/AutoResearch/** changes - PLATFORM NEUTRALITY" requires // ok platform specific - <reason> on FL_IS_* branches and vendor-core calls (::pinMode, ::digitalRead, variant_pin_count in lowMemCorePullCheck). The ESP8266 lines in the same file already carry the marker; these don't.
Flash cost of corePullCheck (+784 B, leaves LPC845 AutoResearch at 63988/65536). It tests the vendor core's ::pinMode, which FastLED never calls (it uses fl::pinMode, fix(lpc): native LPC845/LPC804 pin backend; honor forced software pins #5261), yet it ships in every non-DMA-loopback LPC845 build. Compile it only into the --pin-toggle-rx bench build behind a define that phases.py passes, so the shared image keeps its headroom.
ci/autoresearch/lpc_pin_scan.pyfree_pins: on LPC845, IOCON_INDEX_PIO0_4 == 4 and IOCON_INDEX_PIO0_24 == 24. A buggy core that indexes IOCON by GPIO bit still hits the right slot on those two pads, so they can't detect the bug. Exclude 4 and 24 from the pull-check candidates, with a comment.
Checked and clean: the framework IOCON table (LPC845/LPC804 against the vendor headers), the HardFault trampoline (Thumb-1, MSP/PSP selection), the corePullCheck logic, the phases.py firmware path, and the ci/boards.py platform_packages syntax against fbuild's parser.
Activity
fix(autoresearch): LPC corePullCheck only in the --pin-toggle-rx buil…