Skip to content

test(parlio): cover WS2811 400kHz clock - #3951

Merged
zackees merged 1 commit into
masterfrom
fix/3561-parlio-ws2811-clock-test
Aug 20, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/3561-parlio-ws2811-clock-test

Conversation

@zackees

@zackees zackees commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

Closes #3561. Adds the missing PARLIO integration regression proving that the WS2811-400 timing profile selects wave8 and derives a 3.2 MHz peripheral clock. Verified with focused C++ lint and bash test parlio_driver; clud-review clean.

Summary by CodeRabbit

  • Tests
    • Added an integration test verifying WS2811 400 kHz timing initializes PARLIO in Wave8 mode with the expected 3.2 MHz clock frequency.

@zackees
zackees merged commit acc92a5 into master Aug 20, 2026
1 of 4 checks passed
@zackees
zackees deleted the fix/3561-parlio-ws2811-clock-test branch August 20, 2026 22:14
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 20, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 20, 2026
@coderabbitai

coderabbitai Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: ef6f14fe-c0ff-439b-a0c0-8b1ea96e24e1

📥 Commits

Reviewing files that changed from the base of the PR and between f6fa2a6 and 6f85afd.

📒 Files selected for processing (1)
  • tests/platforms/esp/32/drivers/parlio/parlio_driver.cpp

📝 Walkthrough

Walkthrough

The change adds an ESP32 PARLIO integration test for WS2811 400KHz timing. The test verifies successful Wave8 initialization and a derived 3.2 MHz peripheral clock.

Changes

PARLIO timing validation

Layer / File(s) Summary
Wave8 clock validation
tests/platforms/esp/32/drivers/parlio/parlio_driver.cpp
The test initializes ParlioEngine with TIMING_WS2811_400KHZ and verifies the mock peripheral clock is configured to 3.2 MHz.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/3561-parlio-ws2811-clock-test

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.

PARLIO variable-timing: compress/expand waveN encoding for non-800kHz chipsets

1 participant