Repository navigation
test(rp2350): enable RP2xxx driver validation - #3901
Merged
Merged
Conversation
Extend RP2350(W) AutoResearch coverage for fixed SPI, indexed UART and PIO driver selection, including deferred USB board detection. Preserve UART instance affinity and expose typed PL011 device metadata.\n\nRefs #3899
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (15)
📝 WalkthroughWalkthroughThe change adds RP2350 AutoResearch options and examples, selects concrete RP UART0/UART1 drivers, adds RP UART device metadata, broadens SPI validation to RP2xxx aliases, and adds coverage for CLI parsing, driver normalization, board contracts, and subprocess execution. ChangesRP2xxx AutoResearch support
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related issues
Possibly related PRs
Sequence Diagram(s)sequenceDiagram
participant Operator
participant AutoResearchCLI
participant Args
participant PhaseRunner
participant RPBoard
participant ValidationProcess
Operator->>AutoResearchCLI: select RP UART, PIO, or SPI mode
AutoResearchCLI->>Args: parse hardware options
Args->>PhaseRunner: pass selected indices and validation mode
PhaseRunner->>RPBoard: resolve board environment
RPBoard-->>PhaseRunner: provide RP2040/RP2350 identity
PhaseRunner->>ValidationProcess: run UART or SPI validation with remaining timeout
ValidationProcess-->>PhaseRunner: return validation status
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
uv run pytest --tb=short ci/tests/test_autoresearch_phases.py ci/tests/test_rp2350w_board_config.py(186 passed)bash test bus_infobash test channel_engine_rp_uartbash test channel_engine_rp_spibash test channel_engine_rp_piobash lintbash compile rp2350w --examples AutoResearch(30.4% flash, 31.3% RAM)/clud-reviewcleanHardware status
The recorded RP2350 endpoint is currently a phantom Windows COM17 device and no RPI-RP2 BOOTSEL volume is present, so live bridge-pin discovery and HIL remain intentionally unclaimed.
Refs #3899
Summary by CodeRabbit
New Features
Documentation