I can compile blinky, interrupt_example
However, none of the examples in ESP8266_SDK/examples like IoT_Demo or at can be compiled: I get the following
make
../../Makefile:151: warning: overriding commands for target `clean'
../Makefile:258: warning: ignoring old commands for target `clean'
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
make -C crosstool-NG -f ../Makefile _ct-ng
make: *** crosstool-NG: No such file or directory. Stop.
make: *** [crosstool-NG/ct-ng] Error 2
Why is that thing trying to go to the crosstool again and build it. Why that very complex makefile structure and going up again one level up and trying to so things there???
It just needs to go the source files in the usr include and so on and just compile them using the xtensa toolchain that is already there and produce the bin images.
I am not expert in makefile, but was anyone able to compile the IoT_Demo code?