Skip to content

Meta phase 2: slim-bridge burndown for the remaining channels-API platforms and paths #4637

Closed
6 of 6 issues completed

Description

@zackees

Phase 2 of the slim-bridge conversion (phase 1: #4580, with the follow-up meta #4601).

Rule: if a platform has the channels API, every one of its legacy addLeds<> paths, clockless and clocked SPI, default and opt-in, goes through the slim bridge: fl::SlimBridgeController / SlimSpiBridgeController over a channel driver registered with ChannelManager.

If a conversion is needed to make that possible, do it as part of the same work. Examples:

  • convert DATA_RATE_MHZ() from a clock divider to Hz so FASTLED_SPI_USES_CHANNEL_API can be enabled;
  • wrap an existing bit-bang controller as an IChannelDriver, or register the shared BitBangChannelDriver;
  • extend an encoder or engine (XTRA0, multi-lane, packing) so the bridge produces identical output.

Do not leave a platform on the legacy path because a prerequisite conversion was missing. Only exempt something after the conversion has been tried, with the reason and numbers recorded on the sub-issue.

Sub-issues

Acceptance (per sub-issue)

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions