Hello,
I’m using the new SDK of ESP8266 IDF Style.
Before, I was using the NONOS SDK, and OTA was working fine.
Now, with the new SDK, for ESP8266 with 2MB of flash, all is OK, the OTA working fine.
But with 1MB of flash, OTA doesn’t work…
I’ve trying to use the CONFIG_APP2_SUPPORT flag, but nothing works…
I’ve try to use the CONFIG_ESP8266_BOOT_COPY_APP, but there is an error on bootloader build…
I’ve seen in ESPRESSIF docs, that for 1MB of flash, app1 and app2 are different, and final binary file is app1 + app2.
But when I build my project, I only find one binary file, no app1 or app2 binary.
Here is my partition table :
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xD000, 0x2000
phy_init, data, phy, 0xF000, 0x1000
ota_0, app, ota_0, 0x10000, 0x70000
ota_1, app, ota_1, 0x80000, 0x70000
calibration, 64, 0x00, 0xF0000, 0x1000
config, 65, 0x00, 0xF1000, 0x1000
user_free, 254, 0x00, 0xF2000, 0xE000
I’m using the latest ESP8266 toolchain 5.2.0/7.10/r17
Thanks for your help