diff --git a/ports/esp32/boards/GENERIC/sdkconfig.ota b/ports/esp32/boards/GENERIC/sdkconfig.ota index 7ff939aa99..4a164aa6f8 100644 --- a/ports/esp32/boards/GENERIC/sdkconfig.ota +++ b/ports/esp32/boards/GENERIC/sdkconfig.ota @@ -1,6 +1,6 @@ CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_PARTITION_TABLE_CUSTOM=y -CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-ota.csv" +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB-ota.csv" # Reduce firmware size to fit in the OTA partition. CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y diff --git a/ports/esp32/boards/sdkconfig.base b/ports/esp32/boards/sdkconfig.base index b98d5d0678..7443b34aa7 100644 --- a/ports/esp32/boards/sdkconfig.base +++ b/ports/esp32/boards/sdkconfig.base @@ -67,7 +67,7 @@ CONFIG_ULP_COPROC_RESERVE_MEM=2040 # For cmake build CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y CONFIG_PARTITION_TABLE_CUSTOM=y -CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB.csv" # To reduce iRAM usage CONFIG_ESP32_WIFI_IRAM_OPT=n diff --git a/ports/esp32/partitions-ota.csv b/ports/esp32/partitions-4MiB-ota.csv similarity index 100% rename from ports/esp32/partitions-ota.csv rename to ports/esp32/partitions-4MiB-ota.csv diff --git a/ports/esp32/partitions.csv b/ports/esp32/partitions-4MiB.csv similarity index 100% rename from ports/esp32/partitions.csv rename to ports/esp32/partitions-4MiB.csv