From d0687e90ab27c064270aed648c27424d06c9814c Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 9 Nov 2022 00:21:53 +1100 Subject: [PATCH] esp32: Add 32MiB partition table templates. Signed-off-by: Patrick --- ports/esp32/partitions-32MiB-ota.csv | 10 ++++++++++ ports/esp32/partitions-32MiB.csv | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 ports/esp32/partitions-32MiB-ota.csv create mode 100644 ports/esp32/partitions-32MiB.csv diff --git a/ports/esp32/partitions-32MiB-ota.csv b/ports/esp32/partitions-32MiB-ota.csv new file mode 100644 index 0000000000..7366a2ad8d --- /dev/null +++ b/ports/esp32/partitions-32MiB-ota.csv @@ -0,0 +1,10 @@ +# Partition table for MicroPython with OTA support using 32MB flash +# Notes: the offset of the partition table itself is set in +# $IDF_PATH/components/partition_table/Kconfig.projbuild. +# 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, 0x270000, +ota_1, app, ota_1, 0x280000, 0x270000, +vfs, data, fat, 0x4f0000, 0x1B10000, diff --git a/ports/esp32/partitions-32MiB.csv b/ports/esp32/partitions-32MiB.csv new file mode 100644 index 0000000000..31591c9949 --- /dev/null +++ b/ports/esp32/partitions-32MiB.csv @@ -0,0 +1,7 @@ +# Notes: the offset of the partition table itself is set in +# $IDF_PATH/components/partition_table/Kconfig.projbuild. +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x6000, +phy_init, data, phy, 0xf000, 0x1000, +factory, app, factory, 0x10000, 0x1F0000, +vfs, data, fat, 0x200000, 0x1E00000,