Customized ESPEasy build (512k)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
berend
Normal user
Posts: 10
Joined: 16 Feb 2018, 19:19

Customized ESPEasy build (512k)

#1 Post by berend » 04 Mar 2018, 21:39

Is it still feasible to build for smaller chips like ESP-03?

Removed all except a few of the plugins and the build size gets down enough to build the firmware.
But getting stuck after that.

The resulting image fails on:

Code: Select all

No (or too small) SPIFFS area..
System Halted
Please reflash with 128k SPIFFS minimum!
I used the commented section from the platformio.ino
The first problem is I cant get a variant of src_filter to work, so I just drop the src code.

Code: Select all

src_filter = +<*> -<.git/> -<svn/> -<examples/> -<_P*> +<_P014_SI7021*> +<_P019_PCF8574*> +<_P026_Sysinfo*> +<_P074_TSL2591*>
I didn't know anything about platformio. E.g. I cant see where the linker settings come from.

Because of the SPIFFS error I tried other settings for esp8266.flash.512k64.ld

Code: Select all

esp8266.flash.512k0.ld
esp8266.flash.512k128.ld
And then went back to 64 and halved the required sectors from 32 to 16. But its not enough.

It seems I should follow the advice and dispose of these 512k modules. Its a pity though since I have a dozen of them and put some work in half of those.

I'm only wondering if I should have tried to build the v2.0 branch iso. the mega, if that would've made any difference.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests