Skip to content

[codex] Sync AutoResearch default pins with firmware - #3367

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-pin-default-sync
Jun 24, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-pin-default-sync

Conversation

@zackees

@zackees zackees commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • add a platform-aware AutoResearch host default pin helper matching examples/AutoResearch/AutoResearchPlatform.h
  • use those defaults in schema/pin setup for CLI half-overrides, discovery fallback, default fallback, GPIO pretest, and diagnostics
  • add coverage for ESP32-S3, ESP32-P4, Teensy 4.x, half-specified Teensy CLI pins, and failed auto-discovery fallback

Why

Issue #3359 S2 calls out host-vs-firmware pin default divergence. The firmware defaults Teensy 4.x and ESP32-S3 to RX 2 and ESP32-P4 to TX/RX 5/6, while the host fallback still used global 1/0. That let omitted pins silently mean different pairs on host vs firmware.

Validation

  • git diff --check -- ci/autoresearch/context.py ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync pytest ci/tests/test_autoresearch_phases.py -q -> 64 passed
  • uv run --no-sync ruff check ci/autoresearch/context.py ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync ruff format --check ci/autoresearch/context.py ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py

Targets #3359 S2: remove/synchronize host-vs-firmware pin default divergence.

@zackees
zackees merged commit 1b25124 into teensy-fix Jun 24, 2026
1 check passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 24, 2026
@zackees
zackees deleted the codex/autoresearch-pin-default-sync branch June 24, 2026 23:32
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 24, 2026
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2849b854-09a7-4150-aec9-59f4253e0bba

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/autoresearch-pin-default-sync

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