Skip to content

docs(channels): list supported chipsets in the fl::Bus enum table - #3299

Merged
zackees merged 1 commit into
masterfrom
docs/channels-parlio-chipset-list
Jun 19, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/channels-parlio-chipset-list

Conversation

@zackees

@zackees zackees commented Jun 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a Supported on column to the fl::Bus enum table in src/fl/channels/README.md so the per-driver chipset list lives right next to the enumerator name. Previously readers had to scroll down to the Engine Priority table to learn which chipsets each bus actually runs on.

The PARLIO row explicitly enumerates the chipsets that have the Espressif PARLIO peripheral — ESP32-C5, C6, H2, P4 (SOC_PARLIO_SUPPORTED=1) — and explicitly calls out that S3 is not in the list even though S3 has parallel-output capability via I2S/LCD_CAM.

Why

In the recent #3271 / #3276 work we added PARLIO IRAM flags to a list that incorrectly included esp32s3. The list was internally derived from the conversation rather than from the doc, and the doc didn't have the PARLIO chipset list anywhere as prominent as the enum table. Documenting it here makes the next reader / next contributor / next sub-agent get the chipset list from a single authoritative place.

Adds a one-paragraph note clarifying that opt-in via enableDrivers<fl::Bus::PARLIO>() on a non-PARLIO chip is a no-op (the driver TU is empty) rather than a failure — useful for sketches that target a board family rather than a specific chip.

Test plan

  • bash lint clean — doc-only change.

Refs

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Enhanced bus pinning documentation with detailed hardware support information.
    • Clarified which ESP32 chips support PARLIO bus configuration.
    • Documented fallback behavior when using unsupported bus types.

The `fl::Bus` enum table in src/fl/channels/README.md previously only
mapped enumerator → driver string; readers had to scroll down to the
Engine Priority table to learn which chipsets each bus actually runs on.

Add a "Supported on" column so the per-driver chipset list is right
next to the enum name, with explicit mention that **PARLIO** is only on
chips that have the PARLIO peripheral (ESP32-C5/C6/H2/P4 — NOT S3, even
though S3 has parallel-output capability via I2S/LCD_CAM).

Adds a short note explaining the `FASTLED_ESP32_HAS_PARLIO` /
`SOC_PARLIO_SUPPORTED` gate so opt-in via `enableDrivers<fl::Bus::PARLIO>()`
on a non-PARLIO chip is understood to be a no-op rather than a failure.

Doc-only; no code change.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 19, 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: bc076776-ffa9-4661-a927-a066ccfd08e4

📥 Commits

Reviewing files that changed from the base of the PR and between 30ee2eb and c3dcaa3.

📒 Files selected for processing (1)
  • src/fl/channels/README.md

📝 Walkthrough

Walkthrough

The fl::Bus compile-time bus pinning table in src/fl/channels/README.md is expanded with a "Supported on" column for each bus value. The PARLIO row is updated to list supported ESP32 chips, document the FASTLED_ESP32_HAS_PARLIO / SOC_PARLIO_SUPPORTED capability gate, and explain the fallback to the next-best priority driver when the PARLIO translation unit is absent.

Changes

Bus mapping table documentation update

Layer / File(s) Summary
fl::Bus table: "Supported on" column and PARLIO constraints
src/fl/channels/README.md
Bus mapping table gains a per-bus "Supported on" column. PARLIO row documents supported ESP32 chips, FASTLED_ESP32_HAS_PARLIO / SOC_PARLIO_SUPPORTED capability gating, the empty driver TU on unsupported chips, and the resulting fallback to the next-best priority driver.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • FastLED/FastLED#2458: Also updates src/fl/channels/README.md's fl::Bus driver model and selection/dispatch sections, directly overlapping with this table expansion.
  • FastLED/FastLED#2462: Updates the same README to document fl::Bus-driven driver pinning and bus-mapping behavior including AUTO dispatch and the PARLIO support matrix.
  • FastLED/FastLED#2466: Updates src/fl/channels/README.md for compile-time fl::Bus bus-pinning/dispatch behavior and driver fallback diagnostics including ESP32/PARLIO availability.

Poem

🐇 A table grew wider one fine afternoon,
With "Supported on" columns that bloomed like the moon.
PARLIO needs chips — not just any will do,
SOC_PARLIO_SUPPORTED must ring true!
And if the TU's empty, we quietly fall through. 🌿

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/channels-parlio-chipset-list

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 and usage tips.

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