Skip to content

fix(autoresearch): select RP PIO driver by name - #3674

Merged
zackees merged 1 commit into
masterfrom
fix/rp-pio-autoresearch-dispatch
Jul 15, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/rp-pio-autoresearch-dispatch

Conversation

@zackees

@zackees zackees commented Jul 15, 2026 •

Copy link
Copy Markdown
Member

Maps the cross-platform --flex-io selector to PIO1 on RP2040/Pico targets, which is the concrete driver name exposed by the RPC registry. PIO1 is selected so PIO0 remains available to the RX oracle.\n\nHIL: fbuild deployed to COM12; GPIO11 -> GPIO8 connectivity passed and the command reached PIO1. The remaining waveform capture failure is tracked in #3658 and is not claimed resolved here.\n\nValidation: bash lint ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py; git diff --check. The focused bash test wrapper stalled without output and was terminated after its bounded run.

Summary by CodeRabbit

  • Bug Fixes

    • Improved Flex I/O driver selection for RP2040 and RPipico environments.
    • RPC commands now correctly use the PIO1 driver in these configurations.
  • Tests

    • Added coverage to verify Flex I/O driver mapping for RP2040 setups.

@zackees
zackees merged commit 5d4e0af into master Jul 15, 2026
8 of 11 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jul 15, 2026
@coderabbitai

coderabbitai Bot commented Jul 15, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 334f9f6b-1628-4cb2-958a-cac3911202ad

📥 Commits

Reviewing files that changed from the base of the PR and between 073ac0e and bc9f080.

📒 Files selected for processing (2)
  • ci/autoresearch/phases.py
  • ci/tests/test_autoresearch_phases.py

📝 Walkthrough

Walkthrough

FLEX_IO now maps to the PIO1 driver for rp2040 and rpipico environments. A unit test verifies the mapping and the generated RPC command parameter for rp2040.

Changes

FLEX_IO driver mapping

Layer / File(s) Summary
Driver mapping and command validation
ci/autoresearch/phases.py, ci/tests/test_autoresearch_phases.py
FLEX_IO maps to PIO1 for rp2040 and rpipico; a test verifies the rp2040 mapping and generated RPC driver parameter.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rp-pio-autoresearch-dispatch

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

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant