Repository navigation
Description
Summary
master regressed on April 23, 2026 when commit 82afa960b1ab62b3dcad803e5568041f470db684 changed board builds to use fbuild unconditionally. That exposed an existing incompatibility on Teensy 3.x/LC boards and broke CI immediately after.
Failing run:
- https://github.com/FastLED/FastLED/actions/runs/24866586906/job/72803860213
- failing commit:
9c1377a9b7703e01f2fbbcc978b42d207643cabd - failing board/job args:
teensy30 all
Why this regressed now
82afa960b1ab62b3dcad803e5568041f470db684 removed the previous board allowlist / fallback logic and forced use_fbuild=True for all board builds.
That commit also deleted ci/compiler/fbuild_boards.py, whose comments explicitly documented that these boards were not supported by fbuild:
teensy30..36, teensylc--no Cortex-M7
So the regression is not caused by 9c1377a... itself. The breakage was introduced on April 23, 2026 by routing previously unsupported Teensy boards through fbuild.
Observed failure
The Linux CI job links FastLED twice for teensy30:
- project copy:
trusted/.build/pio/teensy30/lib/FastLED/... - framework/bundled copy:
.../dl-framework-arduinoteensy-1.160.0/.../libraries/FastLED/src/FastLED.cpp
The link step then fails with multiple definitions such as:
multiple definition of 'CFastLED::CFastLED()'multiple definition of 'FastLED'multiple definition of 'set_max_power_in_volts_and_milliamps(...)'
The same log also shows ODR warnings between the checked-out FastLED headers and the framework-bundled FastLED headers, which confirms two different FastLED copies are being compiled into the same build.
P0 fix
Restore the pre-82afa960b1 behavior for unsupported boards immediately:
- do not route Teensy 3.x / LC boards through fbuild yet
- reintroduce a board allowlist or explicit denylist so these boards use PlatformIO again
That should get master green again without waiting on a deeper fbuild/platform fix.
Follow-up
Longer term, fbuild should either:
- ignore the framework-bundled
libraries/FastLEDwhen a project-locallib/FastLEDis present, or - fail early with a clear unsupported-board error for Teensy 3.x/LC instead of reaching the linker
Minimal repro
./compile --no-interactive --no-parallel --max-failures 1 teensy30 AnalogOutput
Activity
zackees commentedon Apr 24, 2026
Upstream fix is now tracked in \FastLED/fbuild#199\.
Downstream propagation / consume-the-fixed-fbuild tracking is in \#2403\.
That splits the work into:
zackees commentedon Apr 24, 2026
Narrowing / partial resolution update.
Original P0 symptom (duplicate-FastLED link error) is RESOLVED by fbuild v2.2.3 (
FastLED/fbuild#198), consumed in 8eb52e1. Verified on master:framework-arduinoteensy/libraries/FastLED— only project-locallib/FastLEDis compiledmultiple definition of CFastLED::CFastLED()/multiple definition of FastLED/multiple definition of set_max_power_in_volts_and_milliamps(...)errorsRemaining failures on teensy30 and teensyLC are a different problem — the
alltarget sweep compiles example sketches that exceed available RAM:section '.dmabuffers' will not fit in region 'RAM'— overflow by ~22400 bytes on many examplessection '.bss' will not fit in region 'RAM'— overflow by ~1.7–2.4KB on various examplesThese are not fbuild/library-selection bugs — they are legitimate capacity constraints on the smallest Teensy targets. The right fix is scoping the example sweep for teensy30/teensyLC (explicit allowlist of sketches that fit, or size-based expected-failure handling), not restoring PlatformIO fallback.
Closing — original regression is fixed. Will file a scoped follow-up for the teensy30 / teensyLC example-set trimming work.
#2403closed (exit criteria met).