From 11bbe48edea330c09612efbdd48452e81a94f585 Mon Sep 17 00:00:00 2001 From: Michael Himing Date: Tue, 15 Feb 2022 08:42:15 +1100 Subject: [PATCH] Espressif: add partitions-4MB-no-uf2 --- .../esp-idf-config/partitions-4MB-no-uf2.csv | 7 +++++++ .../sdkconfig-4MB-no-uf2.defaults | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ports/espressif/esp-idf-config/partitions-4MB-no-uf2.csv create mode 100644 ports/espressif/esp-idf-config/sdkconfig-4MB-no-uf2.defaults diff --git a/ports/espressif/esp-idf-config/partitions-4MB-no-uf2.csv b/ports/espressif/esp-idf-config/partitions-4MB-no-uf2.csv new file mode 100644 index 0000000000..90bf05ce39 --- /dev/null +++ b/ports/espressif/esp-idf-config/partitions-4MB-no-uf2.csv @@ -0,0 +1,7 @@ +# ESP-IDF Partition Table +# Name, Type, SubType, Offset, Size, Flags +# bootloader.bin,, 0x1000, 32K +# partition table,, 0x8000, 4K +nvs, data, nvs, 0x9000, 20K, +app, app, factory, 0x10000, 2048K, +user_fs, data, fat, 0x210000, 1984K, diff --git a/ports/espressif/esp-idf-config/sdkconfig-4MB-no-uf2.defaults b/ports/espressif/esp-idf-config/sdkconfig-4MB-no-uf2.defaults new file mode 100644 index 0000000000..2325a67296 --- /dev/null +++ b/ports/espressif/esp-idf-config/sdkconfig-4MB-no-uf2.defaults @@ -0,0 +1,18 @@ +# +# Serial flasher config +# +# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set +CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set +CONFIG_ESPTOOLPY_FLASHSIZE="4MB" +CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y +# end of Serial flasher config + +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-4MB-no-uf2.csv" +# +# Partition Table +# +CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-4MB-no-uf2.csv" +# end of Partition Table