Skip to content

Fix Windows fallback installs for Pico, Teensy, and STM32 cores - #2188

Merged
zackees merged 2 commits into
mainfrom
fix/2187-windows-longpath-cores
Nov 26, 2026
Merged

zackees merged 2 commits into
mainfrom
fix/2187-windows-longpath-cores

Conversation

@zackees

@zackees zackees commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Fixes #2187

Changes

Opt the Raspberry Pi Pico, Teensy, and STM32 Arduino cores into the existing compact Windows install path in the default, override, and explicit-cache-root constructors.

Verified archive layouts

I downloaded and inspected all three pinned archives. The existing wrapper heuristic and core-root lookups handle each layout.

Package Archive layout Compact staging maximum (file / directory)
arduino-pico 4.5.3 ZIP with one rp2040-4.5.3/ directory containing cores/. The wrapper is stripped. 209 / 182
framework-arduinoteensy 1.160.0 TAR.GZ with cores/, libraries/, and package files directly at the root. The root layout is preserved. 202 / 139
Arduino_Core_STM32 2.9.0 TAR.GZ with one Arduino_Core_STM32-2.9.0/ directory containing cores/. The wrapper is stripped. 194 / 174

The maxima are measured in UTF-16 units from the archive listings against the 32-character fallback cache root reported in the issue, including the compact staging directory.

Tests

  • Added wrapper-layout fixtures and regression tests for all nine constructor paths. The compact-layout predicate accepts an explicit resolution so the tests can supply disabled long paths without modifying the registry, environment, or process-wide startup snapshot.
  • Extended the existing standard-user Windows smoke fixture to build rpipicow, teensy41, and blackpill_f411ce with LongPathsEnabled=0, alongside the existing cold ESP32-S3 install and build. Each additional build must create a compact install. The fixture validates path lengths across the resulting compact packages.
  • All three constructor regression tests reproduced the failure before the opt-ins were added. The five focused compact-install tests and full soldr cargo test passed after the fix. soldr cargo clippy --all-targets -- -D warnings passed with the repository’s uv-managed Python 3.12.
  • Native execution of the expanded smoke on the current PR head passed in the Windows CI job: the Windows long-path repair and fallback smoke step completed successfully, and the full PR check set is 126 passing with 0 failures.

@zackees zackees added the ci-full Run the complete release-equivalent CI matrix on this PR SHA label Nov 26, 2026
@zackees
zackees added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit e2a8b3d Nov 26, 2026
140 checks passed
stevenmunn312-tech added a commit to stevenmunn312-tech/Design-Studio-for-FastLED that referenced this pull request Nov 26, 2026
…ath failure

FastLED/fbuild#2187 was closed by FastLED/fbuild#2188, merged to main
(e2a8b3d93) and not yet released: 2.5.55 is still the latest. A source build
of that commit built the blank sketch for Pico W, Teensy 4.1 and Black Pill
with LongPathsEnabled = 0, on the fallback cache where 2.5.55 failed at
package install. The pin is not moved. The record names what the run did
not cover and what to rerun when the release lands.

Co-Authored-By: Claude Opus 5 <[email protected]>
@zackees
zackees deleted the fix/2187-windows-longpath-cores branch November 26, 2026 08:10
@zackees zackees mentioned this pull request Nov 26, 2026
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 27, 2026
stevenmunn312-tech added a commit to stevenmunn312-tech/Design-Studio-for-FastLED that referenced this pull request Nov 28, 2026
fbuild 2.5.56 carries FastLED/fbuild#2188, the fix for #2187: with Windows
long paths off, the arduino-pico, Teensy and STM32 cores now install on the
short fallback layout. Retested on 2026-11-28 from a shell, long paths off,
with the fallback cache moved aside so 2.5.56 installed every package: the
three blank sketches and one FastLED pattern sketch per family (STM32,
RP2040, Teensy, AVR, megaAVR, SAMD21, SAMD51, UNO R4 WiFi, nRF52840 DK,
ESP8266, classic ESP32, ESP32-S3) built. The S3 needed a second run after a
broken download. Not covered: the packaged app.

The pre-release preset gains the RP2040, Teensy and STM32 pattern legs on
fbuild. The SAMD51 fixture generator checked for getBassLevel(), which the
detector pruning in 033af13 removes from a graph that reads only the
spectrum; it now checks for getEqBin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
stevenmunn312-tech added a commit to stevenmunn312-tech/Design-Studio-for-FastLED that referenced this pull request Nov 28, 2026
Raspberry Pi Pico, Teensy and STM32 boards build on Windows with long paths
off: fbuild 2.5.56 (FastLED/fbuild#2188). Also carries everything on main
since 1.0.2: the Debug node, runtime audio source switching and the firmware
review fixes, most not yet run on a board. Supersedes the unpublished 1.0.0,
1.0.1 and 1.0.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run the complete release-equivalent CI matrix on this PR SHA

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

Windows with long paths off: RP2040, Teensy and STM32 cores cannot install (2.5.55)

1 participant