Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By zarya
hackrid wrote:thanks for that hint. here is the presumably falshable binary of the IoT demo

I tried to upload the bin file with the tool from https://github.com/themadinventor/esptool and it failed uploading for some reason still unkown

Code: Select all./esptool.py --port /dev/tty.usbmodem0E102EE1 write_flash 0x000000 ~/Downloads/eagle.app.v6.flash.bin
Erasing flash...
Writing at 0x0000a000... (100 %)
Traceback (most recent call last):
  File "./esptool.py", line 351, in <module>
  File "./esptool.py", line 188, in flash_finish
    raise Exception('Failed to leave Flash mode')
Exception: Failed to leave Flash mode

It looks bad but upload still works fine without issues

see https://github.com/themadinventor/esptool/issues/1