Last night I managed to go through all the preparations and installation of the toolchain as described in the wiki (https://github.com/esp8266/esp8266-wiki/wiki/Toolchain). All seemed to execute fine, without errors.
This morning I moved on to the Building part of the tutorial, but I got stuck at the very beginning: Compiling the example "Blinky" on page https://github.com/esp8266/esp8266-wiki/wiki/Building gives me this error:
viktor@Satellite-A300D /opt/Espressif/source-code-examples/blinky $ make
CC user/user_main.c
user/user_main.c:1:21: fatal error: ets_sys.h: No such file or directory
#include "ets_sys.h"
^
compilation terminated.
make: *** [build/user/user_main.o] Error 1
viktor@Satellite-A300D /opt/Espressif/source-code-examples/blinky $
It must be some PATH problem, because I do have the ets_sys.h file in the /opt/Espressif/ESP8266_SDK/esp_iot_sdk_v0.9.3/include directory.
Myabe some more experienced members could shed some light on this...
thanks!
http://diy.viktak.com