Skip to content

ESP8266: embedded LittleFS — retire the FL_ESP8266_EMBEDDED_FS define-gate #4947

Closed

Description

@zackees

Problem

The on-chip LittleFS backend is gated by a define:

// src/platforms/embedded_fs.h:28
#if defined(FL_IS_ESP32) || (defined(FL_IS_ESP8266) && defined(FL_ESP8266_EMBEDDED_FS))
#include "platforms/esp/fs/embedded_fs_esp.hpp"

ESP32 gets it unconditionally; ESP8266 needs an opt-in define. Per the tracking
issue's principle this should be a template/feature selection, not a define.

Proposed fix

Select the LittleFS backend the same way the other backends are selected, so the
unused backends link-eliminate and ESP8266 needs no define.

Acceptance

An ESP8266 sketch reads/writes the embedded FS with no extra define; other
platforms' backends are absent from the binary.

Activity

  1. added
    type: feature
    priority: low
    platform: esp8266
    area: core
    on Oct 27, 2026
  2. added a commit that references this issue on Oct 28, 2026
  3. moved this from Triage to Done in FastLED Trackeron Oct 28, 2026
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

    area: coreplatform: esp8266priority: lowtype: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions