Skip to content

fix(rp2040): use Pico W USB identity - #3835

Merged
zackees merged 2 commits into
masterfrom
fix/rpipicow-usb-id
Aug 2, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/rpipicow-usb-id

Conversation

@zackees

@zackees zackees commented Aug 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Validation

  • focused RP2040/Pico W port tests: 11 passed
  • bash lint: passed
  • git diff --check: passed
  • /clud-review: no critical/high findings (mapping verified against Arduino-Pico 4.5.3)

Refs #3832

Summary by CodeRabbit

  • Bug Fixes

    • Improved automatic upload-port detection for the rpipicow board by identifying its board-specific USB connection.
    • Prevented selection of the standard RP2040 port when both board types are connected.
  • Tests

    • Added coverage to verify correct port selection when multiple compatible devices are present.

Use Arduino-Pico 4.5.3's board-exact 2E8A:F00A application identity for rpipicow and cover selection when non-W Pico is also attached.\n\nFollow-up to #3834.\nRefs #3832
@coderabbitai

coderabbitai Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 8351fed4-df1e-4a7b-a05a-9a4bbfdbcb67

📥 Commits

Reviewing files that changed from the base of the PR and between f63b75f and dba67ee.

📒 Files selected for processing (1)
  • ci/tests/test_autoresearch_phases.py
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci/tests/test_autoresearch_phases.py

📝 Walkthrough

Walkthrough

The rpipicow VCOM mapping now uses USB VID:PID 2E8A:F00A. A test verifies that this board-specific identity is selected when a standard RP2040 CDC port is also present.

Changes

RPi Pico W port detection

Layer / File(s) Summary
Update fingerprint and validate selection
ci/util/port_utils.py, ci/tests/test_autoresearch_phases.py
The rpipicow mapping now matches 2E8A:F00A. The test verifies that the board-specific port is selected over 2E8A:000A.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating RP2040 Pico W USB identity detection.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rpipicow-usb-id

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ci/tests/test_autoresearch_phases.py`:
- Line 1596: Update the test method
test_rpipicow_uses_its_board_exact_application_identity by adding an explicit
type annotation to its self parameter, while preserving the existing None return
annotation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e1c6d195-bdab-4796-8e42-17adc5e3df73

📥 Commits

Reviewing files that changed from the base of the PR and between f6ed66d and f63b75f.

📒 Files selected for processing (2)
  • ci/tests/test_autoresearch_phases.py
  • ci/util/port_utils.py

Comment thread ci/tests/test_autoresearch_phases.py Resolved
@zackees
zackees merged commit 324569d into master Aug 2, 2026
10 of 12 checks passed
@zackees
zackees deleted the fix/rpipicow-usb-id branch August 2, 2026 04:17
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 2, 2026
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