Skip to content

diag(objectfled): report busy state snapshots - #3377

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/objectfled-busy-state-diagnostics
Jun 25, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/objectfled-busy-state-diagnostics

Conversation

@zackees

@zackees zackees commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • add ObjectFLED diagnostic busy-state fields for DMA-active, latch-active, and ready snapshots
  • update the ObjectFLED real peripheral wrapper so each diagnostic lifecycle event records current busy state
  • extend the AutoResearch runtime-output lint so boot/RPC files remain always guarded while other AutoResearch files can opt into guarded sections with marker comments

Validation

  • git diff --check
  • 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 (existing unrelated warnings only)
  • bash test --unit --no-fingerprint -> 254/254 passed
  • bash autoresearch teensy41 --object-fled --tx-pin 22 --rx-pin 8 --timeout 120 --skip-lint

Hardware Result

The AutoResearch run used fbuild deploy on teensy41 @ COM20, FbuildSerialAdapter, and the current soldered loopback TX 22 -> RX 8. GPIO pretest passed and setPins echoed txPin=22, rxPin=8.

ObjectFLED still fails honestly as class=zero_capture, but diagnostics now distinguish the S5 states:

  • beforeShow: busy.dmaActive=0, busy.latchActive=0, busy.ready=1
  • afterShowReturn: busy.dmaActive=1, busy.latchActive=1, busy.ready=0
  • afterFastLedWait: busy.dmaActive=0, busy.latchActive=0, busy.ready=1

The remaining issue is actual signal generation/capture, not the S5 diagnostic visibility item.

@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: e8f9e4fb-3b89-4781-b64c-b7d0b98d8ef0

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/objectfled-busy-state-diagnostics

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 2ded952 into teensy-fix Jun 25, 2026
1 check passed
@zackees
zackees deleted the codex/objectfled-busy-state-diagnostics branch June 25, 2026 07:15
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 25, 2026
@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