Files
ESP8266_RTOS_SDK/components/partition_table/partitions_two_ota.1MB.csv
Dong Heng 5e1b8a0b10 feat(ota): Add command to generate OTA bin and add ota example for 1MB flash
"$(PROJECT_NAME).app1.bin", "$(PROJECT_NAME).app2.bin" and "$(PROJECT_NAME).ota.bin" at "build" directory.

Only upload "$(PROJECT_NAME).ota.bin" to the server.

Select the target flash and input "make ota flash" or "make ota flash monitor".

Update the OTA README.md for 1 MB flash.
2018-10-18 19:40:22 +08:00

366 B

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
3nvs, data, nvs, 0x9000, 0x4000
4otadata, data, ota, 0xd000, 0x2000
5phy_init, data, phy, 0xf000, 0x1000
6ota_0, 0, ota_0, 0x10000, 0x70000
7ota_1, 0, ota_1, 0x80000, 0x70000