summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick <patrick@joytech.com.au>2022-11-09 00:21:53 +1100
committerDamien George <damien@micropython.org>2022-11-09 10:57:44 +1100
commitd0687e90ab27c064270aed648c27424d06c9814c (patch)
treeb0b73ca28624764e0737229e0df9aff7a397d6e4
parenta2fd382c34ad9ccca3bf9f0b6ca8c42db7ea6282 (diff)
esp32: Add 32MiB partition table templates.
Signed-off-by: Patrick <patrick@joytech.com.au>
-rw-r--r--ports/esp32/partitions-32MiB-ota.csv10
-rw-r--r--ports/esp32/partitions-32MiB.csv7
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/esp32/partitions-32MiB-ota.csv b/ports/esp32/partitions-32MiB-ota.csv
new file mode 100644
index 000000000..7366a2ad8
--- /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 000000000..31591c994
--- /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,