So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Davidthe 16
#65077 Hello.
I'v been using NodeMCU with Arduino IDE untill now, fun and simple

I want to implement this POC : https://github.com/pulkin/esp8266-injection-example
But it requires a previous esp_iot_sdk....
I'v tried to make this work somehow for hours and no luck :(
I installed the esp-open-sdk on ubuntu VM, the Espressif lubuntu VM, and I don't know what to do next. I tried to run make command on the machine with esp_open_sdk and then I got this Message:



/home/david/myprojects/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: cannot open linker script file /home/david/myprojects/esp8266-injection-example/esp_iot_sdk_v1.3.0/esp_iot_sdk_v1.3.0/ld/eagle.app.v6.ld:


when I run make on the espressif lubuntu machine I get this:

esp8266@esp8266-VirtualBox:~/Share/esp8266-injection-example-master$ make
CC driver/uart.c
make: /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: Command not found
make: *** [build/driver/uart.o] Error 127


So here are my questions:
1. What is exactly this esp_iot_sdk? I know its some C code to run directly on the ESP, but what is it EXACTLY? and is it efferent from esp-open-sdk, or the ROTS sdk, and if so how? what is the difference?
2. how do you use this esp_iot_sdk ? where do I get others?
2. how do burn this on the ESP?

thanks!!