From 76f4630b6bd4352764e3f63ffa66fa03064e5c65 Mon Sep 17 00:00:00 2001 From: bogd Date: Tue, 31 Oct 2023 12:16:54 +0200 Subject: [PATCH] added 8MB custom partition table --- partitions_user_ota_8M.csv | 9 +++++++++ sdkconfig.defaults | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 partitions_user_ota_8M.csv diff --git a/partitions_user_ota_8M.csv b/partitions_user_ota_8M.csv new file mode 100644 index 0000000..ce5d5e4 --- /dev/null +++ b/partitions_user_ota_8M.csv @@ -0,0 +1,9 @@ +# ESP-IDF Partition Table +# Name, Type, SubType, Offset, Size, Flags +nvs,data,nvs, 0x9000,0x8000, +otadata,data,ota, ,0x2000, +phy_init,data,phy, ,0x1000, +nvs_key,data,nvs_keys, ,0x1000, +ota_0,app,ota_0, 0x20000,0x300000, +ota_1,app,ota_1, ,0x300000, +storage,data,spiffs, ,0x1E0000, diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 27eec48..ce52983 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -10,4 +10,6 @@ CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_user_ota.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions_user_ota.csv" -CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024 \ No newline at end of file +CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024 +CONFIG_LWIP_MAX_SOCKETS=14 +CONFIG_SPIFFS_OBJ_NAME_LEN=128 \ No newline at end of file