Skip to content

test(spi): cover public SK9822 channel API - #3705

Merged
zackees merged 1 commit into
masterfrom
test/rp2040-spi-acceptance
Jul 16, 2026
Merged

zackees merged 1 commit into
masterfrom
test/rp2040-spi-acceptance

Conversation

@zackees

@zackees zackees commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

Closes #3700\n\n## Summary\n- compile the default public SK9822 addLeds call alongside APA102\n- preserve explicit channel/bus routing coverage\n- pair public API coverage with the existing APA102/SK9822 framing tests\n\n## Validation\n- bash test tests/fl/channels/bus_traits (pass)\n- bash test tests/fl/chipsets/spi_frame_protocol (pass on #3704)

Summary by CodeRabbit

  • Tests
    • Expanded compile-time coverage for automatic bus selection across WS2812, APA102, and SK9822 LED types.
    • Added validation for separate LED buffers and wiring configurations.

@zackees
zackees merged commit ed72c30 into master Jul 16, 2026
4 checks passed
@zackees
zackees deleted the test/rp2040-spi-acceptance branch July 16, 2026 11:02
@coderabbitai

coderabbitai Bot commented Jul 16, 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

Run ID: 09bc0929-80f1-4097-8941-ee8c98ca863a

📥 Commits

Reviewing files that changed from the base of the PR and between c884e6b and 72f3938.

📒 Files selected for processing (1)
  • tests/fl/channels/bus_traits.cpp

📝 Walkthrough

Walkthrough

The bus traits compile-time test now covers default-AUTO FastLED.addLeds calls for WS2812, APA102, and SK9822 using separate LED buffers.

Changes

AUTO bus compile coverage

Layer / File(s) Summary
AUTO addLeds call sites
tests/fl/channels/bus_traits.cpp
Adds dedicated APA102 and SK9822 buffers and corresponding FastLED.addLeds calls while retaining WS2812 coverage.

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

Possibly related PRs

  • FastLED/FastLED#3672: Related SPI addLeds and bus-selection API changes exercise the same AUTO dispatch logic.
✨ 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 test/rp2040-spi-acceptance

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.

test(rp2040): close SPI protocol and public API acceptance gaps

1 participant