The use of the ESP8266 in the world of IoT

User avatar
By alonewolfx2
#18340
rab wrote:Added part two - OTA support: http://richard.burtons.org/2015/05/23/r ... a-updates/
Also updated the sample project on GitHub to demonstrate OTA updates.

thank you for your good work. finally we can use opensource ota.
User avatar
By rab
#18375 Hi all, thanks for the feedback. I hope this does prove useful, it's taken a lot of man hours!

As for the couple of mentions of sming, I don't know much about it. I only became aware of it when it was mentioned here, but I've compiled it and got it running this morning and it looks pretty good. Might be a nicer/ easier way to program for the esp8266 while still being native (you'll never get me to use lua!). Although when I say easier, I never did get the hang of C++, but maybe it's time to have another look.

Anyway, I did get as far as building the http_bootstrap and basic_blink examples. With just a simple change to the linker script I was able to put them both on at the same time with rBoot and use a GPIO to choose between them at boot time. So sming applications will certainly boot fine with rBoot (as you'd expect), but I don't know anything about the built in ota functions, I suspect they wouldn't be compatible without some modification.

I'll be going on holiday for 10 days from mid this week, so I may not get a to more chance to play with this for a little bit. Do have a play and let me know how you get on, esp if you have some knowledge of the internals of sming.
User avatar
By gschmott
#18389 Any chance you could share the minor change you made to the Sming linker script before you depart on a well earned vacation? I'd like to reproduce your success with Sming since I have found Sming's existing OTA solution unreliable and a bit opaque. With your great documentation I think I might have a fighting chance in switching over to rboot.

Thanks again for your great work . . .