-->
Page 1 of 1

esp_mqtt too big for the compilation of the user1.bin

PostPosted: Sun Feb 15, 2015 6:29 am
by styszkiew
I have a problem compiling the library file https://github.com/tuanpmt/esp_mqtt to user1.bin OTA.
The compiler indicates the library is too big.
message:
LD build/app.out
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: build/app.out section `.irom0.text' will not fit in region `irom0_0_seg'
collect2.exe: error: ld returned 1 exit status
make: *** [build/app.out] Error 1

Does anyone have transformed the library to work with the Local Cloud UPDATE (OTA)?

Re: esp_mqtt too big for the compilation of the user1.bin

PostPosted: Mon Feb 16, 2015 6:05 am
by r73_pablog
I have the same problem, the only solution I've found is to use a flash > 512k.

Re: esp_mqtt too big for the compilation of the user1.bin

PostPosted: Mon Mar 02, 2015 6:24 am
by r73_pablog
I found a solution, is very fair, but in some cases it works.

http://bbs.espressif.com/viewtopic.php?f=10&t=166