From 40e92277339697159e9ae120d814b64b6d4bbf04 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Thu, 30 Apr 2020 00:22:33 -0700 Subject: [PATCH] esp32/partitions: Update comments in files regarding offset. --- ports/esp32/partitions-2MiB.csv | 4 +++- ports/esp32/partitions-ota.csv | 6 ++++-- ports/esp32/partitions.csv | 4 +++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ports/esp32/partitions-2MiB.csv b/ports/esp32/partitions-2MiB.csv index 84bc53782d..2d3d4c1204 100644 --- a/ports/esp32/partitions-2MiB.csv +++ b/ports/esp32/partitions-2MiB.csv @@ -1,5 +1,7 @@ +# Notes: the offset of the partition table itself is set in +# $ESPIDF/components/partition_table/Kconfig.projbuild and the +# offset of the factory/ota_0 partition is set in makeimg.py # 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 nvs, data, nvs, 0x9000, 0x6000, phy_init, data, phy, 0xf000, 0x1000, factory, app, factory, 0x10000, 0x110000, diff --git a/ports/esp32/partitions-ota.csv b/ports/esp32/partitions-ota.csv index 0072930156..08576b6a36 100644 --- a/ports/esp32/partitions-ota.csv +++ b/ports/esp32/partitions-ota.csv @@ -1,6 +1,8 @@ # Partition table for MicroPython with OTA support using 4MB flash -# 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 +# Notes: the offset of the partition table itself is set in +# $ESPIDF/components/partition_table/Kconfig.projbuild and the +# offset of the factory/ota_0 partition is set in makeimg.py +# Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 0x4000, otadata, data, ota, 0xd000, 0x2000, phy_init, data, phy, 0xf000, 0x1000, diff --git a/ports/esp32/partitions.csv b/ports/esp32/partitions.csv index 55c225759e..68ab4b356a 100644 --- a/ports/esp32/partitions.csv +++ b/ports/esp32/partitions.csv @@ -1,5 +1,7 @@ +# Notes: the offset of the partition table itself is set in +# $ESPIDF/components/partition_table/Kconfig.projbuild and the +# offset of the factory/ota_0 partition is set in makeimg.py # 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 nvs, data, nvs, 0x9000, 0x6000, phy_init, data, phy, 0xf000, 0x1000, factory, app, factory, 0x10000, 0x180000,