diff --git a/partitions.csv b/partitions.csv new file mode 100644 index 0000000000000000000000000000000000000000..48c1ff71e5d8752b7787a03022fcab57c750731c --- /dev/null +++ b/partitions.csv @@ -0,0 +1,7 @@ +# ESP-IDF Partition Table +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x4000, +otadata, data, ota, 0xd000, 0x2000, +phy_init, data, phy, 0xf000, 0x1000, +ota_0, 0, ota_0, 0x10000, 0x180000, +ota_1, 0, ota_1, 0x190000, 0x180000, diff --git a/sdkconfig b/sdkconfig index f2c3873cb7fcc8eb055e31e5b96a3c9b16eb75b9..8456789feca58996fb59a58d99b80980f37d3fab 100644 --- a/sdkconfig +++ b/sdkconfig @@ -66,10 +66,10 @@ CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y CONFIG_ESPTOOLPY_MONITOR_BAUD_OTHER_VAL=115200 CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 # CONFIG_PARTITION_TABLE_SINGLE_APP is not set -CONFIG_PARTITION_TABLE_TWO_OTA=y -# CONFIG_PARTITION_TABLE_CUSTOM is not set +# CONFIG_PARTITION_TABLE_TWO_OTA is not set +CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" -CONFIG_PARTITION_TABLE_FILENAME="partitions_two_ota.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_OFFSET=0x8000 CONFIG_PARTITION_TABLE_MD5=y CONFIG_ENABLE_ARDUINO_DEPENDS=y