Removing Plugins for smaller build doesn't work

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
dolittle
Normal user
Posts: 15
Joined: 14 Jan 2018, 19:39

Removing Plugins for smaller build doesn't work

#1 Post by dolittle » 05 Jan 2019, 16:31

Hi,
in order to get smaller firmware images and thus being able to do a one pass OTA upgrade doesn't work for me anymore. My tests werde done with mega-20181220 with two scenarios. The first one is a build with all default Plugins included in the src folder and the second one is a build where all *.ino files beginning with _P* were removed with the exception of those containing the numbers 001,026,033,037 and 043. In both scenarios the firmware image build is exectued with

Code: Select all

pio run -e minimal_ESP8266_1024_OTA
and in both cases it's exactly 622432 bytes large. The build output shows the different modules to be compiled and both scenarios live in separate directories.

Can someone explain to me how this is possible? Am I missing something?
I have to admit that I tried this the last time about one year ago but it would be really cool if I could reduce the size by removing unnecessary plugins.

Thanks in advance for your assistance.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests