PlatformIO Community

Fail to create LittleFS on d1_mini_pro board

I cant upload a proper littlefs image to my wemos d1 pro clones. As far I can see the littlefs.exe creates a 4GB bin file!!!

This is the data directory files

This is the output files

The littlefs.bin generated bin file is 4GB!.

I have no problems with the d1_mini boards, this only happens with the d1_mini_pro

can anybody help me to solved this? I really need the d1_mini_pro external antena :S

Due to a negative size calculation. See bug at https://github.com/platformio/platform-espressif8266/issues/190. Workaround is ignoring half of the flash space by setting board_build.ldscript = eagle.flash.8m7m.ld in the platformio.ini. cc @valeros

1 Like

Great, I can upload now! Thanks!!

Any plans on solving that bug? I don’t need the extra memory now but maybe in the future

I’ve pinged the devs again.