diff --git a/merge_bin.sh b/merge_bin.sh index e637e089..e7968626 100755 --- a/merge_bin.sh +++ b/merge_bin.sh @@ -28,7 +28,7 @@ for file in "${required_files[@]}"; do done # Call esptool.py with the specified arguments -esptool.py --chip esp32s3 merge_bin --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/esp-miner.bin 0x110000 build/www.bin 0x510000 build/ota_data_initial.bin -o "$output_file" +esptool.py --chip esp32s3 merge_bin --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/esp-miner.bin 0x410000 build/www.bin 0xf10000 build/ota_data_initial.bin -o "$output_file" # Check if esptool.py command was successful if [ $? -eq 0 ]; then diff --git a/partitions.csv b/partitions.csv index 7d5c66d3..b4ba21aa 100644 --- a/partitions.csv +++ b/partitions.csv @@ -2,8 +2,9 @@ # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap nvs, data, nvs, 0x9000, 0x6000 phy_init, data, phy, 0xf000, 0x1000 -factory, app, factory, 0x10000, 1M -www, data, spiffs, 0x110000, 2M -ota_0, app, ota_0, 0x310000, 1M -ota_1, app, ota_1, 0x410000, 1M -otadata, data, ota, 0x510000, 8k \ No newline at end of file +factory, app, factory, 0x10000, 4M +www, data, spiffs, 0x410000, 3M +ota_0, app, ota_0, 0x710000, 4M +ota_1, app, ota_1, 0xb10000, 4M +otadata, data, ota, 0xf10000, 8k +coredump, data, coredump, , 64K diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 012202de..1edd6314 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -3,9 +3,9 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_OFFSET=0x8000 CONFIG_PARTITION_TABLE_MD5=y -CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y -CONFIG_ESPTOOLPY_FLASHSIZE="8MB" +CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y +CONFIG_ESPTOOLPY_FLASHSIZE="16MB" CONFIG_ESP_MAXIMUM_RETRY=5 CONFIG_HTTPD_WS_SUPPORT=y CONFIG_SPIFFS_OBJ_NAME_LEN=64 -CONFIG_HTTPD_MAX_URI_LEN=2048 \ No newline at end of file +CONFIG_HTTPD_MAX_URI_LEN=2048