Skip to content

chore(deps): bump fbuild 2.2.7 -> 2.2.9 — fixes teensy41 SPI link (#2365) - #2551

Merged
zackees merged 1 commit into
masterfrom
chore/bump-fbuild-2.2.9
May 30, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/bump-fbuild-2.2.9

Conversation

@zackees

@zackees zackees commented May 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Bumps fbuild from 2.2.7 to 2.2.9 to pick up the Teensy 4.x SPI shadowing-filter fix in FastLED/fbuild#286 (closes FastLED/fbuild#284).

This unblocks the long-standing teensy41 CI failure tracked in #2365: every Teensy 4.x example was failing at link with undefined reference to SPIClass::transfer/begin/end/SPI because fbuild's filter_framework_libs_shadowed_by_project was dropping the framework SPI library when FastLED shipped any nested spi.h (we ship src/fl/channels/spi.h and src/fl/chipsets/spi.h, both unreachable as <SPI.h>). The fbuild fix replaces the recursive header-basename walk with an Arduino-spec-correct top-level walk so only headers actually reachable as <basename> from an include root trigger the shadowing filter.

Test plan

  • End-to-end verified locally on Windows: bash compile teensy41 --examples Blink failed at link against fbuild==2.2.7 and now succeeds against the patched fbuild build (SPI.cpp is included in the framework_library_sources set; 152 framework lib sources resolved; SPI count = 1).
  • bash lint clean
  • CI teensy41 job goes from red (continuously since at least 2026-05-12) to green

Closes

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated build dependency to version 2.2.9, resolving issues with Teensy 4.x SPI operations and ESP32-P4 path discovery.

Review Change Stack

Picks up the Teensy 4.x SPI shadowing-filter fix in FastLED/fbuild#286
(closes FastLED/fbuild#284). Unblocks the long-standing teensy41 CI
failure tracked in #2365: every Teensy 4.x example was failing at link
with `undefined reference to SPIClass::transfer/begin/end/SPI` because
fbuild's filter_framework_libs_shadowed_by_project was dropping the
framework SPI library when FastLED shipped any nested spi.h (we ship
src/fl/channels/spi.h and src/fl/chipsets/spi.h, both unreachable as
<SPI.h>). The fbuild fix replaces the recursive header-basename walk
with Arduino-spec-correct top-level resolution.

Verified locally on Windows: bash compile teensy41 --examples Blink
failed at link against fbuild 2.2.7 and now succeeds against 2.2.9.
@coderabbitai

coderabbitai Bot commented May 30, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 01853710-c864-4f05-bebd-c0b78df61fcb

📥 Commits

Reviewing files that changed from the base of the PR and between 99e75b3 and 4b917be.

📒 Files selected for processing (1)
  • pyproject.toml

📝 Walkthrough

Walkthrough

The fbuild build system dependency is updated from version 2.2.7 to 2.2.9 in the project's dependency list, along with an inline comment refresh documenting the Teensy 4.x SPI shadowing-filter fix and prior fixes included in the newer release.

Changes

fbuild Dependency Update

Layer / File(s) Summary
fbuild version and release notes update
pyproject.toml
The fbuild dependency is pinned to version 2.2.9 (previously 2.2.7), and the adjacent comment is updated to document the Teensy 4.x SPI shadowing-filter fix alongside prior framework-library and ESP32-P4 path-source discovery fixes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#2516: Both PRs only change the same pyproject.toml pinned fbuild dependency version (main: 2.2.7 → 2.2.9; retrieved: 2.2.5 → 2.2.7) and adjust the related inline rationale comments.
  • FastLED/FastLED#2501: Both PRs directly bump the fbuild version in pyproject.toml's [project].dependencies and update the related inline fbuild/Teensy toolchain comment.
  • FastLED/FastLED#2370: Both PRs change the fbuild version constraint in pyproject.toml with sequential dependency bumps across releases.

Poem

🐰 A nibble here, a hop there—
fbuild hops from two-point-seven fair,
To two-point-nine with Teensy SPI care,
The shadowing filter now fixed in the air! ✨
One line changed, the build tools declare.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: bumping fbuild dependency version and the specific bug fix it addresses (Teensy 4.1 SPI linking).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-fbuild-2.2.9

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.

@zackees
zackees merged commit 84633f6 into master May 30, 2026
7 of 8 checks passed
@zackees
zackees deleted the chore/bump-fbuild-2.2.9 branch May 30, 2026 20:01
@coderabbitai coderabbitai Bot mentioned this pull request Jun 13, 2026
2 of 3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant