Skip to content

ESP32: ~37-50 KB of FL_WARN/FL_ERROR string pool shipped in default Arduino builds #4712

Closed

Description

@zackees

Part of #4709.

esp32dev DemoReel100 at HEAD: 352,120 B flash; with -DFASTLED_LOG_VERBOSITY=0: 314,752 B (−37 KB). fbuild attributes 50.7 KB of .flash.rodata to SlimBridgeController<...>::SlimBridgeController(). Arduino/PlatformIO builds don't define NDEBUG, so verbosity defaults to 1 on large-memory tiers.

This is the largest single contributor to the 3.10.3 → 3.10.6 ESP32 flash growth (+64 KB on DemoReel100). Decide whether release defaults should change, whether the hot strings should move to FL_WARN_LIT, or whether to document the knob for Arduino users.

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