Size of the code generated by the compiler

cicciocb
Posts: 4
Joined: Mon Sep 10, 2018 2:08 pm

Size of the code generated by the compiler

Postby cicciocb » Mon Sep 10, 2018 2:25 pm

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

Who is online

Users browsing this forum: Google [Bot] and 130 guests