BTW. I think that it shouldn't be required to specify full path for GCC/AR/OBJCOPY tools, the directory with them should be added to PATH instead. I'm pretty sure it should be possible to do this in Eclipse. Doesn't CHERTS environment do this already?
libespconn.a:
xtensa-lx106-elf-ar.exe x liblwip.a
xtensa-lx106-elf-ar.exe ru libespconn.a espconn.o espconn_tcp.o espconn_udp.o
Or:
#if (!defined(USE_ESPCONN)) && (SDK_VERSION > 959)
uint32 ICACHE_FLASH_ATTR espconn_init(uint32 x) {
return 1;
}
#endif