Espressif2Arduino
Espressif2Arduino copied to clipboard
Allows for OTA updates from an Espressif ESP8266 V2 OTA image to an Arduino image by replacing the bootloader and dynamically patching the binary memory offsets
License
I'm putting together a repo that pulls together your great work and the SonOTA project for those that want a quick way to flash a Sonoff without having to open...
So, I bought a few new Sonoff switches (the basic one). I rebuilt everything with the 8266 config (Espressif and Sonoff-Tasmota). Flashing to Espressif worked without a hitch using SonOTA....
The defines for respective public images are: ``` #define URL_QIO_ROM_2 "http://sunlocker.khc.net.nz/static/8266/e2a-1024-2.bin" #define URL_QIO_ROM_3 "http://sunlocker.khc.net.nz/static/8266/sonoff-1024.bin" #define URL_DIO_ROM_2 "http://sunlocker.khc.net.nz/static/8285/e2a-1024-2.bin" #define URL_DIO_ROM_3 "http://sunlocker.khc.net.nz/static/8285/sonoff-1024.bin" ``` which suggests DIO is used by ESP8285 (AFAIK wrong)...
As raised in https://github.com/mirko/SonOTA/issues/11 ``` I think i know what may be wrong - i was testing a slightly different configuration and noticed that sometimes the buffer downloading the new...
Need to add boards variant and associated ld scipts for 8295
Currently the code makes some assumptions about the flash layout that I don't think hold true on larger flash sizes (sonoff pow?) requires further investigation