Skip to content

[codex] Map Teensy AutoResearch SPI to SPI_UNIFIED - #3373

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-teensy-spi-unified
Jun 25, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-teensy-spi-unified

Conversation

@zackees

@zackees zackees commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Maps explicit Teensy 4.x AutoResearch --spi runs to the registered SPI_UNIFIED driver name.
  • Treats SPI_UNIFIED as a real SPI chipset path in AutoResearch firmware test setup/decode code.
  • Converts remaining scoped AutoResearch RPC/runtime diagnostics to JSON result fields and fixes the Teensy rxBackend compile blocker.
  • Hardens the scoped runtime-output lint regex so multi-suffix FastLED log macros and fl::serial_print* helpers are caught.

Validation

  • uv run --no-sync pytest ci/tests/test_autoresearch_phases.py -q -> 70 passed
  • uv run --no-sync ruff check ci/autoresearch/phases.py ci/autoresearch/args.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync ruff format --check ci/autoresearch/phases.py ci/autoresearch/args.py ci/tests/test_autoresearch_phases.py
  • soldr cargo fmt --manifest-path ci/lint_cpp_rs/Cargo.toml --check
  • soldr cargo check --manifest-path ci/lint_cpp_rs/Cargo.toml --target x86_64-unknown-linux-gnu --tests -> passed with existing unrelated warnings
  • git diff --check -- <changed files>
  • Scoped source scan shows no forbidden direct runtime output in AutoResearch.ino / AutoResearchRemote* except explicit JSON-RPC serial boundary suppressions.

Hardware

  • bash autoresearch teensy41 --spi --tx-pin 22 --rx-pin 8 --timeout 120 selected Drivers SPI_UNIFIED but stopped at the known local Rust linter MSVC sysroot issue before upload.
  • bash autoresearch teensy41 --spi --tx-pin 22 --rx-pin 8 --timeout 120 --skip-lint used fbuild deploy on teensy41 @ COM20, FbuildSerialAdapter, GPIO pre-test TX 22 -> RX 8, setPins echo txPin=22 rxPin=8, and runSingleTest driver SPI_UNIFIED.
  • Hardware result was an honest zero_capture failure, not an acceptance PASS: TEST SPI_UNIFIED lanes=1 leds=100 FAIL 11ms class=zero_capture.

@coderabbitai

coderabbitai Bot commented Jun 25, 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: cb7a877c-9813-45e2-b92e-9ecb4eef673b

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-teensy-spi-unified

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.

@zackees
zackees merged commit 2b1a95e into teensy-fix Jun 25, 2026
1 check passed
@zackees
zackees deleted the codex/autoresearch-teensy-spi-unified branch June 25, 2026 05:57
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 25, 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