-->
Page 1 of 1

Upgrade over OTA

PostPosted: Mon Jul 06, 2015 8:33 pm
by folny82
Hi

I found this sketch to OTA upgrade but it seems it's not working or doing something incorrectly is someone with some experience with this code or can tell me how to upload a sketch via OTA ? thanks.

https://github.com/kzyapkov/esp-arduino-rboot

Re: Upgrade over OTA

PostPosted: Tue Jul 07, 2015 12:32 pm
by CptanPanic
Check out https://github.com/esp8266/Arduino/issues/268

And there has been a lot of new code being added in the last couple of days to enable this from the IDE. Keep an eye out.
https://github.com/esp8266/Arduino/pull ... s%3Aclosed

Re: Upgrade over OTA

PostPosted: Tue Jul 07, 2015 1:48 pm
by folny82
Hi

Thanks I tested this sketch and it works great.

https://github.com/esp8266/Arduino/blob ... Update.ino

Re: Upgrade over OTA

PostPosted: Wed Jul 08, 2015 7:37 pm
by ZeeSmart
I'm unable to compile it ('Update' was not declared in this scope) in Arduino IDE 1.6.5. I've got ESP8266 v1.6.5-804-g2d340c7 installed. Am I missing something else for it to work?