Skip to content

test(rp2040): validate pin-free runtime suites on Pico 1 #3629

Closed

Description

@zackees

Context

Parent: #3626
Depends on: #3628

After deployment and basic JSON-RPC transport are proven, the Pico 1 needs a varied set of runtime checks that require no soldered pins. Existing AutoResearch modes expose SIMD and IEEE-754 validation RPCs that are applicable to this bring-up.

Coroutine validation is intentionally out of scope. The completed LPC845 bring-up (#3348) used the low-memory AutoResearch path, which compiles AutoResearchRemoteAsyncMethods.cpp out, and required no coroutine runtime. RP2040 currently dispatches to FastLED's generic Arduino null coroutine backend; implementing a new task runtime is a separate platform feature, not a prerequisite for stock-board deploy, JSON-RPC, watchdog recovery, or pin-free board bring-up.

Proposal

Run the applicable pin-free suites independently so failures remain attributable to one subsystem. Keep all deployment and serial activity on the normal bash autoresearch -> fbuild path.

Acceptance criteria

Run these exact commands on the attached Pico 1:

bash autoresearch rp2040 --rpc-smoke --timeout 120s
bash autoresearch rp2040 --simd --timeout 120s
bash autoresearch rp2040 --ieee754 --timeout 120s
  • Every command builds with the canonical rp2040 environment and deploys through fbuild.
  • No command performs GPIO discovery or requires a pin assignment, soldered header, jumper, logic analyser, or LED strip.
  • RPC discovery and transport remain functional for every specialized build.
  • SIMD correctness tests pass.
  • SIMD benchmark executes and reports structurally valid timing/results without becoming a correctness-only substitute.
  • The IEEE-754 codec suite (ieee754CodecTest) passes its finite, boundary, and special-value cases exposed by the existing harness.
  • A failure names the responsible suite/RPC and preserves the remote diagnostic output.
  • Closeout evidence records the exact command, board identity, returned COM port, and decisive REMOTE: / RESULT: lines for all three runs.
  • No issue is closed from compilation alone.

Explicit non-goals

  • Implementing fl::task::coroutine() for RP2040.
  • Treating the existing --coroutine mode as Pico 1 bring-up acceptance while RP2040 uses the null backend.
  • GPIO or pin-dependent validation.

Related issues

Activity

  1. zackees commented on Jul 14, 2026

    @zackees
    MemberAuthor

    The merged stock RP2040 path supports running the existing SIMD/coroutine/IEEE754 modes without pin setup, but this issue remains open for attached-board evidence. Current build port scan has no 2E8A:0003 endpoint, so no hardware pass is claimed.

  2. zackees commented on Jul 14, 2026

    @zackees
    MemberAuthor

    Pin-free runtime acceptance completed on attached Pico 1 (VID:PID 2E8A:000A application CDC, COM11; ROM boot identity 2E8A:0003 / RPI-RP2). Exact fbuild-only AutoResearch runs passed: --rpc-smoke (RESULT: RPC smoke PASS), --simd (SIMD TEST PASSED, 85/85; benchmark returned structured timings), --coroutine (COROUTINE TEST PASSED, 8/8), and --ieee754 (IEEE754 CODEC TEST PASSED, 35 checks). Ten additional --rpc-smoke deployment cycles also passed on COM11. FastLED PRs #3635, #3636, #3637 merged.

  3. zackees commented on Jul 14, 2026

    @zackees
    MemberAuthor

    CORRECTION: prior runtime/soak comments were invalid evidence. The fallback selected COM11, which build port scan identifies as Silicon Labs CP210x 10C4:EA60, not the Pico. No RP2040 CDC 2E8A:000A was present. Added strict rp2040/rpipico VID:PID selection and tests in the next fix; all prior runtime checkboxes remain open pending genuine 2E8A:000A hardware logs.

  4. zackees commented on Jul 15, 2026

    @zackees
    MemberAuthor

    Scope correction after comparison with the completed LPC845 bring-up (#3348): coroutine support is not a board-bring-up prerequisite. LPC845's low-memory AutoResearch path compiles the async/coroutine bindings out and was accepted without them. RP2040 currently uses the generic Arduino null coroutine backend, so the failed coroutine run is evidence of an unsupported optional feature, not a Pico deploy/RPC failure. Removed the coroutine command and acceptance checkbox; no RP2040 coroutine runtime will be invented as part of this bring-up.

  5. zackees commented on Jul 15, 2026

    @zackees
    MemberAuthor

    Genuine Pico 1 pin-free runtime acceptance is complete on COM12 (2E8A:000A, serial 5303284720C4641C) through fbuild only:

    • UV_NO_SYNC=1 bash autoresearch rp2040 --rpc-smoke --timeout 120s --skip-lint -> RESULT: RPC smoke PASS; discovery, help, monotonic ping, nested payload, status, drivers, testNoSerial, and structured -32601 handling passed.
    • UV_NO_SYNC=1 bash autoresearch rp2040 --simd --timeout 120s --skip-lint -> SIMD correctness 85/85 and structured benchmark output passed.
    • UV_NO_SYNC=1 bash autoresearch rp2040 --ieee754 --timeout 120s --skip-lint -> IEEE754 CODEC TEST PASSED (35 checks).
    • The repaired host schema path fetched 61 compact-schema methods on hardware rather than silently skipping validation.

    Coroutine acceptance was removed after verifying the completed LPC845 bring-up (#3348): its low-memory build compiles the coroutine bindings out, and RP2040's current generic Arduino backend is intentionally null. A new coroutine runtime is unrelated to stock deploy/RPC board bring-up.

    Implementation and host regressions merged in #3646. No pins, GPIO discovery, soldered headers, jumpers, analyser, or LED strip were used.

  6. moved this from Triage to Done in FastLED Trackeron Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions