Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By cal
#13621 Moin,

sorry for hijacking but the knowledge seems to concentrate here ;-)

I try to make nodemcu more stable. Lua on the esp is really a challenge...
I suspect some stack overflows happening thrashing innocent data.
Stack usage seems to be in the 0x3fffc000 area but mapfile seem to indicate some (rom?) used data structures, too.
What is the stack area of the main thread and does that differ between different firmwares like AT, frankenstein, nodemcu?
Do you have some stack boundary check in place in your code?

Thanks,
Carsten
User avatar
By Viktor Sebok
#15433 Hello Necromant,
First of all thank you for this great firmware!
Today I flashed my device (ESP-07) and looks like the firmware in debug mode:


frankenstein > <27>[Kl<27>[118D<27>[15C<27>[1C<27>[Ki<27>[118D<27>[15C<27>[2C<27>[Ks<27>[118D<27>[15C<27>[3C<27>[Kt<27>[118D<27>[15C<27>[4C<27>[Ke<27>[118D<27>[15C<27>[5C<27>[Kn<27>[118D<27>[15C<27>[6C<27>[K <27>[118D<27>[15C<27>[7C<27>[K8<27>[118D<27>[15C<27>[8C<27>[K0<27>[118D<27>[15C<27>[9C<\r><\n>
Listening (TCP) on port 80<\r><\n>
L4: espconn_tcp_accept link_cnt: 1<\r><\n>
(/home/necromant/Dev/esp8266-frankenstein/src/lwip/app/espconn_tcp.c:833)<\r><\n>
connect | 192.168.1.101:62581 <\r><\n>
L4: server has application data received: 22584<\r><\n>
(/home/necromant/Dev/esp8266-frankenstein/src/lwip/app/espconn_tcp.c:604)<\r><\n>
receive | GET / HTTP/1.1<\r><\n>
L4: server's application data has been processed: 22424<\r><\n>
(/home/necromant/Dev/esp8266-frankenstein/src/lwip/app/espconn_tcp.c:628)<\r><\n>
L4: espconn_sclose_cb 10 0<\r><\n>
(/home/necromant/Dev/esp8266-frankenstein/src/lwip/app/espconn_tcp.c:548)<\r><\n>
L4: server: 192.168.1.101 : 62581 disconnect<\r><\n>
(/home/necromant/Dev/esp8266-frankenstein/src/lwip/app/espconn_tcp.c:109)<\r><\n>
disconnect | 192.168.1.101:62581 <\r><\n>


How can I disable these messages?
Best regards,
Viktor