Skip to content

2.5.25 regression: framework library selection drops LittleFS although the sketch includes <LittleFS.h> (esp32s3) #1452

Description

@zackees

Follow-up to #1449 / #1450 ("select only reached framework libraries"), which fixed the Matter over-selection. 2.5.25 now selects too narrowly.

Repro

FastLED master (pin bumped to fbuild 2.5.25 in FastLED/FastLED#4475):

bash compile esp32s3 --examples AutoResearch
build error: build failed: compilation failed for .build/fbuild/esp32s3/src/sketch/AutoResearchOta.cpp:
src/sketch/AutoResearchOta.cpp:77:10: fatal error: LittleFS.h: No such file or directory
   77 | #include <LittleFS.h>

examples/AutoResearch/AutoResearchOta.cpp includes <LittleFS.h> at top level and calls LittleFS.open(...). So the library is reached from the sketch's own sources; nothing conditional about it.

Reproduced locally (NixOS, fbuild 2.5.25) and on GitHub ubuntu-latest: FastLED's ESP32-S3 examples / build job fails the same way on master and on every PR branch since the bump.

Expected

A #include <LittleFS.h> in a sketch source selects the framework's LittleFS library, as it did through 2.5.24.

Impact

FastLED master is red for esp32s3. Rolling back to 2.5.24 is not an option: that reintroduces #1449 (Blink links Matter, 462 KB → 1.6 MB).

Happy to test a build.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions