Skip to content

Commit b70737d

Browse files
ropgme-no-dev
authored andcommitted
Fix partition tables to reflect that M5Stack Fire has 16MB flash and 4MB PSRAM (#1969)
1 parent 233d31b commit b70737d

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

Diff for: boards.txt

+9-3
Original file line numberDiff line numberDiff line change
@@ -1791,8 +1791,8 @@ m5stack-core-esp32.menu.DebugLevel.verbose.build.code_debug=5
17911791
m5stack-fire.name=M5Stack-FIRE
17921792

17931793
m5stack-fire.upload.tool=esptool
1794-
m5stack-fire.upload.maximum_size=1310720
1795-
m5stack-fire.upload.maximum_data_size=327680
1794+
m5stack-fire.upload.maximum_size=6553600
1795+
m5stack-fire.upload.maximum_data_size=4521984
17961796
m5stack-fire.upload.wait_for_upload_port=true
17971797

17981798
m5stack-fire.serial.disableDTR=true
@@ -1808,14 +1808,20 @@ m5stack-fire.build.flash_size=16MB
18081808
m5stack-fire.build.flash_freq=80m
18091809
m5stack-fire.build.flash_mode=dio
18101810
m5stack-fire.build.boot=dio
1811-
m5stack-fire.build.partitions=default
1811+
m5stack-fire.build.partitions=default_16MB
18121812
m5stack-fire.build.defines=
18131813

18141814
m5stack-fire.menu.PSRAM.enabled=Enabled
18151815
m5stack-fire.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
18161816
m5stack-fire.menu.PSRAM.disabled=Disabled
18171817
m5stack-fire.menu.PSRAM.disabled.build.defines=
18181818

1819+
m5stack-fire.menu.PartitionScheme.default=Default (2 x 6.5 MB app, 3.6 MB SPIFFS)
1820+
m5stack-fire.menu.PartitionScheme.default.build.partitions=default_16MB
1821+
m5stack-fire.menu.PartitionScheme.large_spiffs=Large SPIFFS (7 MB)
1822+
m5stack-fire.menu.PartitionScheme.large_spiffs.build.partitions=large_spiffs_16MB
1823+
m5stack-fire.menu.PartitionScheme.large_spiffs.upload.maximum_size=4685824
1824+
18191825
m5stack-fire.menu.UploadSpeed.921600=921600
18201826
m5stack-fire.menu.UploadSpeed.921600.upload.speed=921600
18211827
m5stack-fire.menu.UploadSpeed.115200=115200

Diff for: tools/partitions/default_16MB.csv

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x640000,
5+
app1, app, ota_1, 0x650000,0x640000,
6+
eeprom, data, 0x99, 0xc90000,0x1000,
7+
spiffs, data, spiffs, 0xc91000,0x36F000,

Diff for: tools/partitions/large_spiffs_16MB.csv

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x480000,
5+
app1, app, ota_1, 0x490000,0x480000,
6+
eeprom, data, 0x99, 0x910000,0x1000,
7+
spiffs, data, spiffs, 0x911000,0x6EF000,

0 commit comments

Comments
 (0)