Skip to content

feat(rp2040): phase 1 — instantiate PIO RX backend #3654

Closed

Description

@zackees

Parent and phase

Implementation Phase 1 of #3648. Depends on Phase 0 (shared resource contracts and mocks).

Scope

Add RxBackend::PIO / RxDeviceType::PIO; dispatch RP2040 PLATFORM_DEFAULT to a real RpPioRxDevice; and implement lifecycle, decode/raw-edge access, injected edges, validation, yielding wait, and diagnostics. Do not claim signal capture yet.

Acceptance criteria

  • Backend/factory selection, invalid configuration, begin/stop/rebegin, exhaustion, and cleanup have focused host tests.
  • Diagnostics report backend, PIO index, state machine, DMA channel, resolution, capacity, and lifecycle state.
  • Repeated construction restores the shared resource ledger.

Attached-board gate

Run fbuild port scan and canonical bash autoresearch/JSON-RPC only. Creation must report a real PIO_RX instance rather than RxChannelCreationFailed; prove the TX↔RX jumper with GPIO transitions. This does not prove capture/decode quality.

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