Skip to content

chore(deps): bump fbuild 2.2.11 -> 2.2.12 for nrf52 alias fixes - #2652

Merged
zackees merged 1 commit into
masterfrom
fix/2631-2633-ingest-fbuild-nrf52-alias-fixes
May 31, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/2631-2633-ingest-fbuild-nrf52-alias-fixes

Conversation

@zackees

@zackees zackees commented May 31, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Pin fbuild==2.2.12 so the build picks up the nRF52 PIO -> Adafruit alias resolution fixes that landed in fbuild master since 2.2.11.
  • 2.2.12 was just published to PyPI (release run) after the soldr/cargo-zigbuild cache bypass in fbuild#332 unblocked the publish workflow.

What 2.2.12 fixes

  • Variant include path (fbuild#326, closes fbuild#325) — the nrf52 orchestrator now reuses the alias-resolved variant_dir from Nrf52Cores::get_variant_dir for include paths, so board JSONs that track PIO/sandeepmistry upstream naming (variant = "nRF52DK", variant = "Seeed_XIAO_nRF52840_Sense", etc.) find Adafruit's actual directories instead of failing with fatal error: variant.h: No such file or directory from cores/nRF5/{Uart,delay}.h. Unblocks Build nRF52840 DK and Build nRF52 XIAO BLE Sense.
  • Linker script alias (fbuild#328, closes fbuild#327) — Nrf52Cores::get_linker_script(name, mcu) now resolves PIO-named nrf52_xxaa.ld to whichever nrf52840_s140_v{N}.ld / nrf52832_s132_v{N}.ld Adafruit's BSP actually shipped, picking the highest available _v{N} via directory glob so a future BSP bump from v6 -> v7 doesn't silently regress. The resolved linker basename is now hashed into Nrf52FingerprintMetadata.linker_script so the fast-path key invalidates when alias resolution moves between files (CodeRabbit review catch).
  • Release-auto unblock (fbuild#332, closes fbuild#331) — direct cargo zigbuild (pip-installed wrapper) bypasses soldr's bin cache that was serving a corrupted cargo-zigbuild-0.22.3 binary and silently breaking every release. Without this, 2.2.12 could not ship.

Closes #2631 (Build nRF52840 DK).
Closes #2633 (Build nRF52 XIAO BLE Sense).

adafruit_feather_nrf52840_sense remains red on the unrelated size/LTO offset out of range link failure — explicitly out of scope per loop instructions; tracking issue #2632 was closed for the same reason. supermini/nice_nano/nrfmicro were already unblocked at the compile stage by #2627 but still fail on size for the same LTO reason — likewise out of scope.

Test plan

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated fbuild dependency to version 2.2.12, incorporating bug fixes and improvements.

Picks up:
- FastLED/fbuild#326 — variant include path emits alias-resolved
  variant_dir so board JSONs that track PIO/sandeepmistry upstream
  naming find Adafruit's actual variant directories.
- FastLED/fbuild#328 — MCU-aware linker script alias maps PIO-named
  nrf52_xxaa.ld to whichever nrf52840_s140_v{N}.ld / nrf52832_s132_v{N}.ld
  Adafruit's BSP actually ships, globbing for the highest available
  _v{N} so future BSP bumps don't silently regress. Resolved linker
  basename is now fingerprinted into Nrf52FingerprintMetadata so the
  fast-path key invalidates when resolution moves between files.
- FastLED/fbuild#332 — release-auto CI fix that bypasses soldr's
  corrupted cargo-zigbuild bin cache (which blocked 2.2.12 publish).

Closes #2631 (Build nRF52840 DK).
Closes #2633 (Build nRF52 XIAO BLE Sense).

adafruit_feather_nrf52840_sense remains red on its size/LTO failure
(out of scope per loop instructions, see closed #2632).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@coderabbitai

coderabbitai Bot commented May 31, 2026 •

Copy link
Copy Markdown

Review Change Stack

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: 4061d96b-1aaa-44b7-be6b-9d19d7b00260

📥 Commits

Reviewing files that changed from the base of the PR and between 231a415 and a13409c.

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

📝 Walkthrough

Walkthrough

This PR updates the pinned fbuild dependency in pyproject.toml from 2.2.11 to 2.2.12. The associated inline release-note comment block is revised to describe the newer fbuild version's contents, including alias additions, linker-script handling, and CI fixes.

Changes

fbuild dependency version update

Layer / File(s) Summary
Dependency version update
pyproject.toml
The fbuild pinned version is bumped from 2.2.11 to 2.2.12 in the dependencies array, and the adjacent release-note comment is updated to reflect the new version's changes (aliases, linker-script handling, and CI fixes).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

  • FastLED/FastLED#2631: Updating fbuild to 2.2.12 brings in fixes for include-path and variant.h build failures on target boards.
  • FastLED/FastLED#2633: The fbuild 2.2.12 release adds nRF52 fixes and linker-script handling that address missing variant.h issues for nrf52 boards.

Possibly related PRs

  • FastLED/FastLED#2516: Both PRs modify the same fbuild dependency pin in pyproject.toml with updated version and associated inline comment.
  • FastLED/FastLED#2617: Both PRs update the fbuild dependency version in pyproject.toml; this PR advances from 2.2.11 to 2.2.12 following prior 2.2.11 pin.

Poem

🐰 Whiskers twitch with glee,
fbuild hops from two-point-two-point-eleven free,
To 2.2.12's embrace so bright,
Aliases and linker scripts take flight! 🚀
A tiny bump, yet mighty fixes light the way.

🚥 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 accurately describes the main change: bumping fbuild from 2.2.11 to 2.2.12 and references the key reason (nrf52 alias fixes).
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 fix/2631-2633-ingest-fbuild-nrf52-alias-fixes

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 715b73a into master May 31, 2026
7 of 8 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Jun 13, 2026
2 of 3 tasks
@zackees
zackees deleted the fix/2631-2633-ingest-fbuild-nrf52-alias-fixes branch August 21, 2026 19:15
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