Till now I used SDK v 1.3 but today I decided to switch to 1.5 SDK. I downloaded SDK from here https://github.com/espressif/ESP8266_RTOS_SDK/tree/master and tried to compile it, but i got an error:
Code: Select all
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Lc:/Espressif/ESP8266_RTOS_SDK/lib -Lout/build -Trom0.ld -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group, out/build/app_app.a -lgcc -lhal -lphy -lpp -lmain -lssl -lnet80211 -lespconn -lwpa -lcrypto -lfreertos -lcirom -llwip -lminic -lpwm -lsmartconfig -Wl,--end-group -Wl,-Map,foo0.map -o out/build/app_0.out
c:/Espressif/ESP8266_RTOS_SDK/lib\libespconn.a(espconn_buf.o):(.text.ringbuf_memset+0xc): undefined reference to `os_memset'
c:/Espressif/ESP8266_RTOS_SDK/lib\libespconn.a(espconn_buf.o): In function `ringbuf_memset':
(.text.ringbuf_memset+0x6a): undefined reference to `os_memset'
collect2.exe: error: ld returned 1 exit status
I tried to find the os_memset function but it seems it is absent in the SDK.
I am puzzled with this because I believe that SKD could not be with an error inside. Could anyone say what could be wrong?