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

User avatar
By Gato
#80826 Hi, I'm trying to use lwIP in my project (I don't really like espconn). I'm using the nonos sdk and building on Linux (no arduino). However, I notice there are copies, or fragments of lwIP scattered in several places. For example, there are three copies of lwip/opt.h:

./xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/lwip/opt.h
./ESP8266_NONOS_SDK-2.1.0-18-g61248df/third_party/include/lwip/opt.h
./esp-open-lwip/include/lwip/opt.h

I have many questions: Why is it there are three copies? Which one is the toolchain using and why? Should I modify one of those if I want, say, POSIX sockets? Or better yet: where can I find all this documented?

Thanks
Gato