- Mon Oct 27, 2014 7:59 am
#1979
Sprite_tm wrote:CheapB: I haven't looked at the official SDK yet, but apart from some paths that may be different (which you should be able to solve by setting the correct environment variables to override them).
I decided to to try to edit the makefile to fit the official environment.
This is where I got. I have esptool.py in /home/esp8266/Share/esptool with rwxrwxrwx on the folder and all files.
It does not generate the bin file, but results in the below error message. As this is a virtual image i would actually prefer to end with the bin and not flash the esp from a virtual image. I may just be me, but I dont trust the virtual drivers this much.
esp8266@esp8266-VirtualBox:~/Share/esp8266_iot_sdk/app$ sudo make
make: Warning: File `build/user' has modification time 1.7 s in the future
CC user/cgi.c
CC user/cgiwifi.c
CC user/espfs.c
CC user/heatshrink_decoder.c
CC user/httpd.c
CC user/httpdespfs.c
CC user/io.c
CC user/stdout.c
CC user/user_main.c
AR build/httpd_app.a
LD build/httpd.out
FW firmware/0x00000.bin
make: execvp: /home/esp8266/Share/esptool: Permission denied
make: *** [firmware/0x00000.bin] Error 127