Page 1 of 1

Size of the code generated by the compiler

Posted: Mon Sep 10, 2018 2:25 pm
by cicciocb
Hi all,
why the code generated by the compiler is around 3-4 times the size generated for the ESP8266 ?
For example, the same ESP8266 source code compiled for the ESP32 generates a much bigger program size.
A soon as a new library is included in the code, the program size increases very fast, reaching very fast the default limits.
I already modified the partitions in order to recover more space for the application but, because I need the OTA and the SPIFFS, I reached the limits of the flash size.
I know that there is already a discussion around the BLE module size but it looks like this is a general issue.
Does this comes from the espressif prebuilt libraries or from the compiler that generates a lot of debug informations ?
Does there is a plan to improve this point?

Thanks