diff --git a/boards.txt b/boards.txt index 7a86797c..33f95ef7 100644 --- a/boards.txt +++ b/boards.txt @@ -1791,8 +1791,8 @@ m5stack-core-esp32.menu.DebugLevel.verbose.build.code_debug=5 m5stack-fire.name=M5Stack-FIRE m5stack-fire.upload.tool=esptool -m5stack-fire.upload.maximum_size=1310720 -m5stack-fire.upload.maximum_data_size=327680 +m5stack-fire.upload.maximum_size=6553600 +m5stack-fire.upload.maximum_data_size=4521984 m5stack-fire.upload.wait_for_upload_port=true m5stack-fire.serial.disableDTR=true @@ -1808,7 +1808,7 @@ m5stack-fire.build.flash_size=16MB m5stack-fire.build.flash_freq=80m m5stack-fire.build.flash_mode=dio m5stack-fire.build.boot=dio -m5stack-fire.build.partitions=default +m5stack-fire.build.partitions=default_16MB m5stack-fire.build.defines= m5stack-fire.menu.PSRAM.enabled=Enabled @@ -1816,6 +1816,12 @@ m5stack-fire.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psra m5stack-fire.menu.PSRAM.disabled=Disabled m5stack-fire.menu.PSRAM.disabled.build.defines= +m5stack-fire.menu.PartitionScheme.default=Default (2 x 6.5 MB app, 3.6 MB SPIFFS) +m5stack-fire.menu.PartitionScheme.default.build.partitions=default_16MB +m5stack-fire.menu.PartitionScheme.large_spiffs=Large SPIFFS (7 MB) +m5stack-fire.menu.PartitionScheme.large_spiffs.build.partitions=large_spiffs_16MB +m5stack-fire.menu.PartitionScheme.large_spiffs.upload.maximum_size=4685824 + m5stack-fire.menu.UploadSpeed.921600=921600 m5stack-fire.menu.UploadSpeed.921600.upload.speed=921600 m5stack-fire.menu.UploadSpeed.115200=115200 diff --git a/tools/partitions/default_16MB.csv b/tools/partitions/default_16MB.csv new file mode 100644 index 00000000..936359b9 --- /dev/null +++ b/tools/partitions/default_16MB.csv @@ -0,0 +1,7 @@ +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x5000, +otadata, data, ota, 0xe000, 0x2000, +app0, app, ota_0, 0x10000, 0x640000, +app1, app, ota_1, 0x650000,0x640000, +eeprom, data, 0x99, 0xc90000,0x1000, +spiffs, data, spiffs, 0xc91000,0x36F000, \ No newline at end of file diff --git a/tools/partitions/large_spiffs_16MB.csv b/tools/partitions/large_spiffs_16MB.csv new file mode 100644 index 00000000..0ddf14e0 --- /dev/null +++ b/tools/partitions/large_spiffs_16MB.csv @@ -0,0 +1,7 @@ +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x5000, +otadata, data, ota, 0xe000, 0x2000, +app0, app, ota_0, 0x10000, 0x480000, +app1, app, ota_1, 0x490000,0x480000, +eeprom, data, 0x99, 0x910000,0x1000, +spiffs, data, spiffs, 0x911000,0x6EF000, \ No newline at end of file