Skip to content

ESP8266SdFat and SDFS linked when not used #6760

Description

@TD-er

Similar to #6691
The PlatformIO inspect tool shows both libraries ESP8266SdFat and SDFS are linked in the binary and thus taking both around 20k of flash size. (debug build, release size may differ)

image

As far as I can see, all includes for SD.h in my code are in #ifdef wrappers and I cannot see where the file SD.h is included in the code of esp8266/Arduino.

Right now, I am using https://github.com/Jason2866/platform-espressif8266.git#core_2_6_0 as platform (has the latest build toolchain included).

Does any of you have an idea why it is linked?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions