May be someone here has any idea on this: I am running my own firmware on smart sockets driven by ESP8266 (ESP8285, actually). This firmware is using the Fauxmo library to bring Alexa compatibility, a telnet server to enable remote logging, a Modbus server and finally a web server for configuration of the socket over its own WiFi in config mode.
All these servers are built on the AsyncTCP stack. Over time the used libraries have grown and grown, and now I have a binary file to be flashed that will occupy >50% of the device’s flash - too big to be sent OTA any more. The user code seems to use no more than 60kB in total, so the remainder obviously is sitting in the core libraries.
Is there any way to reduce the size of the underlying AsyncTCP, ESP8266WiFi etc. codes?