You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FASTLED_HAS_CHANNELS is 1 for NRF52. Choose Bridged or Direct depending on driver availability.
Part of #4580. Follow the slim bridge format, the gap register (A1-A12) and the testing plan (T0-T4) there. Acceptance: the T1 conformance suite passes, a same-SHA bash bloat before/after is recorded, and AutoResearch evidence is included where hardware is available.
Exempt per the decision recorded in #4590: this platform's legacy clockless path links no channel code, so the slim bridge has nothing to remove, and bridging would add ChannelManager. Reopen if its legacy controller adopts a channel driver.
Measured on origin/master e61aae4f0d, Blink, bash bloat <board> --build. The channel-symbol check greps .build/symbols/<board>/report.json for ChannelManager, fl::Channel::, ChannelData and IChannelDriver.
Channel driver: no clockless one. FASTLED_HAS_CHANNELS is 1 for NRF52, but init_channel_driver_nrf52.cpp.hpp registers only the unified SPI adapter (SpiHw2/4). No clockless IChannelDriver or BusTraits exists (for example, there is no PWM/I2S-DMA engine), and nRF51 has no channel support at all. A future nRF52 PWM-DMA clockless engine would be a new driver, which is a separate feature and not a slim-bridge conversion.
Board
Flash
RAM
Channel symbols
nrf52840_dk
64,461 B
225,735 B
none
(The first attempt timed out in zccache under parallel load; the retry succeeded.)
Decision: keep as-is and close as not planned (per the #4601 rule). There is no channel engine to bridge onto, and no channel code is linked. The only option left is a "Direct" DriverTraits reshuffle of the same timing-critical bit-bang code. It would not save flash and could not be hardware-validated. Reopen if a hardware channel engine (DMA, PIO-like or UART) lands for this family.
Reopened: this platform has the channels API, so it moves to the slim bridge (maintainer decision; the earlier "exempt" closure only looked at clockless and missed the existing channel support). FASTLED_HAS_CHANNELS=1 here, and init_channel_driver_* registers a SPI channel adapter.
Clockless (WS2812, …). There is no clockless channel engine yet. Either wrap the platform's existing bit-bang controller as an IChannelDriver, or register the shared BitBangChannelDriver (platforms/shared/bitbang). Then use fl::SlimBridgeController.
Acceptance: same-SHA bash bloat before and after for Blink and an APA102 example on a representative board, lint and tests pass, and the compile matrix passes. Hardware validation is deferred (#4623 pattern).
Activity
zackees commentedon Sep 25, 2026
Exempt per the decision recorded in #4590: this platform's legacy clockless path links no channel code, so the slim bridge has nothing to remove, and bridging would add
ChannelManager. Reopen if its legacy controller adopts a channel driver.zackees commentedon Sep 25, 2026
Reopened under follow-up meta #4601. The exemption in #4590 is being re-evaluated per platform by measurement rather than applied as a blanket rule.
zackees commentedon Sep 25, 2026
Measured on origin/master
e61aae4f0d, Blink,bash bloat <board> --build. The channel-symbol check greps.build/symbols/<board>/report.jsonforChannelManager,fl::Channel::,ChannelDataandIChannelDriver.Channel driver: no clockless one.
FASTLED_HAS_CHANNELSis 1 for NRF52, butinit_channel_driver_nrf52.cpp.hppregisters only the unified SPI adapter (SpiHw2/4). No clocklessIChannelDriverorBusTraitsexists (for example, there is no PWM/I2S-DMA engine), and nRF51 has no channel support at all. A future nRF52 PWM-DMA clockless engine would be a new driver, which is a separate feature and not a slim-bridge conversion.(The first attempt timed out in zccache under parallel load; the retry succeeded.)
Decision: keep as-is and close as not planned (per the #4601 rule). There is no channel engine to bridge onto, and no channel code is linked. The only option left is a "Direct" DriverTraits reshuffle of the same timing-critical bit-bang code. It would not save flash and could not be hardware-validated. Reopen if a hardware channel engine (DMA, PIO-like or UART) lands for this family.
zackees commentedon Sep 25, 2026
Reopened: this platform has the channels API, so it moves to the slim bridge (maintainer decision; the earlier "exempt" closure only looked at clockless and missed the existing channel support).
FASTLED_HAS_CHANNELS=1here, andinit_channel_driver_*registers a SPI channel adapter.Scope:
SPIOutput, becauseFASTLED_SPI_USES_CHANNEL_API=0. Move it onto the slim SPI bridge (SlimSpiBridgeController, feat(spi): slim SPI bridge controller for clocked addLeds<> (#4585) #4613) over the existing SPI channel adapter.DATA_RATE_MHZ()returns a clock divider, not Hz, on this platform. Convert it to Hz, then enableFASTLED_SPI_USES_CHANNEL_API.IChannelDriver, or register the sharedBitBangChannelDriver(platforms/shared/bitbang). Then usefl::SlimBridgeController.Acceptance: same-SHA
bash bloatbefore and after for Blink and an APA102 example on a representative board, lint and tests pass, and the compile matrix passes. Hardware validation is deferred (#4623 pattern).[-]slim bridge: nRF51/nRF52 clockless[/-][+]slim bridge: nRF52 clocked SPI + clockless (channels API present; nRF51 excluded)[/+]fix(nrf52): guard-free typeId via static tag; direct sDriver in insta…
refactor(nrf52): clockless via SlimBridgeController (#4595) (#4648)