docs(ota): FOTA from an Old SDK to the New ESP8266 RTOS SDK (IDF Style)

This commit is contained in:
Dong Heng
2019-01-29 19:47:21 +08:00
parent 166d91f4ad
commit e9ba030bec
2 changed files with 178 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
# Bootloader is at 0x1000 - 0x8000, total 28KB
# Partition table is at 0x8000 - 0x9000, total 4KB
# Reserve 4 sectors at the end flash address for V2 updating to V3 and system can read V2 parameters.
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
ota_0, 0, ota_0, 0x10000, 0xEC000
ota_1, 0, ota_1, 0x110000,0xEC000
1 # Name, Type, SubType, Offset, Size, Flags
2 # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
3 # Bootloader is at 0x1000 - 0x8000, total 28KB
4 # Partition table is at 0x8000 - 0x9000, total 4KB
5 # Reserve 4 sectors at the end flash address for V2 updating to V3 and system can read V2 parameters.
6 nvs, data, nvs, 0x9000, 0x4000
7 otadata, data, ota, 0xd000, 0x2000
8 phy_init, data, phy, 0xf000, 0x1000
9 ota_0, 0, ota_0, 0x10000, 0xEC000
10 ota_1, 0, ota_1, 0x110000,0xEC000