Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade support for esp family #200

Open
toomyem opened this issue Jul 11, 2018 · 3 comments
Open

Upgrade support for esp family #200

toomyem opened this issue Jul 11, 2018 · 3 comments

Comments

@toomyem
Copy link
Contributor

toomyem commented Jul 11, 2018

Is such functionality planned to be implemented for ESP8266 mcus? I see it is done for ESP32, but for 8266 also should be doable.

@vijaygill
Copy link

vijaygill commented Aug 25, 2018

Looking at https://github.com/eerimoq/simba/tree/master/src/boards, simba does seem to support esp8266 in various flavours - esp01, esp12e, nodemcu and wemos d1 mini.

@toomyem
Copy link
Contributor Author

toomyem commented Aug 27, 2018

Nope, upgrade is not supported for ESP8266, take a look at https://github.com/eerimoq/simba/tree/master/src/oam/ports/esp -> where is no upgrade.i implementation for esp.

@simonlbn
Copy link
Contributor

I looked at it a while ago. The ESP32 SDK provides a clean way of doing this with two firmware images - the ESP8266 SDK does not have this funtionality.

Simba does (as far as I recall) use the Arduino bootloader which does support a way of doing OTA upgrade, but it's not as clean (including that there isn't a fallback if the new image is bad) and requires more custom code. It can probably be done with too much work, but it's not a quick thing and may need a different Simba API than the ESP32 upgrade code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants