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

User avatar
By kadamski
#9825 @BarryP: I've made some modifications to my Makefile that can automate swapping eagle_lwip_if.o to new version each time you compile the code. It also adds Makefile-local.mk so that one can make all the changes required for local compile environment without modifying main Makefile. Are you able to change your Makefile to use this or is there something missing?

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?
User avatar
By pvvx
#9826 @kadamski - in SDK 0.9.6 wdt_init() use espconn_init(x)

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