From c77d59bf01dd7c403ee37860ab9b4c69c2cc4b46 Mon Sep 17 00:00:00 2001 From: Dong Heng Date: Wed, 23 Jan 2019 19:12:58 +0800 Subject: [PATCH] feat(universal_ota): Modify partition file configuration --- .../partitions_two_ota_v2tov3.1MB.csv | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/system/universal_ota/partitions_two_ota_v2tov3.1MB.csv b/examples/system/universal_ota/partitions_two_ota_v2tov3.1MB.csv index 6d3a3a19..55a38b10 100644 --- a/examples/system/universal_ota/partitions_two_ota_v2tov3.1MB.csv +++ b/examples/system/universal_ota/partitions_two_ota_v2tov3.1MB.csv @@ -1,11 +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 +# Bootloader is at 0x1000 - 0x5000, total 16KB +# Partition table is at 0x5000 - 0x6000, total 4KB # Reserve 4 sectors at the end flash address for V2 updating to V3 and system can read V2 parameters. -# If you don't need read v2 parameters, don't reserve the 4 sectors. -nvs, data, nvs, 0x9000, 0x4000 -otadata, data, ota, 0xd000, 0x2000 -phy_init, data, phy, 0xf000, 0x1000 -ota_0, 0, ota_0, 0x10000, 0x6C000 -ota_1, 0, ota_1, 0x90000, 0x6C000 +phy_init, data, phy, 0x6000, 0x1000 +ota_0, 0, ota_0, 0x7000, 0x77000 +nvs, data, nvs, 0x7f000, 0x4000 +otadata, data, ota, 0x83000, 0x2000 +ota_1, 0, ota_1, 0x85000, 0x77000