espressif / ESP8266_RTOS_SDK

Latest ESP8266 SDK based on FreeRTOS, esp-idf style.
http://bbs.espressif.com
Apache License 2.0
3.35k stars 1.57k forks source link

Compiled size (GIT8266O-847) #1270

Open BLLuis opened 8 months ago

BLLuis commented 8 months ago

Can somebody explain me why a minimal example takes more than 400kb after compiling, compared to the old sdk is a huge amount of code. I want to port an old app written with the old sdk but I can't due to memory space.

App compiled with 2.x SDK uses 420Kb Same app compiled with SDK 3.4 870Kb without ota code. Got 720Kb in Release mode without log data.

Some link or document that explain why or if I missing something, maybe remove some libraries or something like that.

Any clue is really appreciated.

Thanks

marmurek commented 4 months ago

Hi @BLLuis , did u find out why it is so FAT? I also wanted to fit C++ app into 512KB mcu, and it seems impossible for now....