jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

Building ESP-Link generates httpd.user1.out not user1.bin, and renaming this file and flashing it fails #393

Closed Rotario closed 6 years ago

Rotario commented 6 years ago

Hi,

I'm running Ubuntu 16.04 LTS with docker.io installed, I'm trying to build the firmware but the file output in the build folder is called httpd.user1.out and httpd.user2.out. I've tried renaming these to user1.bin and user2.bin but flashing them fails. I've checked that flashing the precompiled firmware works so there's no issue on the ESP8266-side. I'm trying to compile a forked version of this repo, with just a couple of line changes to enable LWT retained messages with MQTT. I'm running :

sudo docker run -v $PWD:/esp-link jeelabs/esp-link:latest

The failure error just says connection was reset by peer

If you could help in any way I'd much appreciate it!

Thanks, Rowan

leodesigner commented 6 years ago

I am compiling the same way, it is working for me. Did you check the firmware directory ? Than ./wiflash 192.168.4.1 firmware/user1.bin firmware/user2.bin

Rotario commented 6 years ago

Yeah fixed