Skip to content

Commit 4819ba8

Browse files
committed
Creation new partition 16M flash 9M SPIFFS
1 parent 066666f commit 4819ba8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

boards.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ esp32.menu.PSRAM.enabled=Enabled
4444
esp32.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
4545
esp32.menu.PSRAM.enabled.build.extra_libs=-lc-psram-workaround -lm-psram-workaround
4646

47+
esp32.menu.PartitionScheme.app3M_spiffs9M_16MB=16M Flash (3MB APP/9MB SPIFFS)
48+
esp32.menu.PartitionScheme.app3M_spiffs9M_16MB.build.partitions=app3M_spiffs9M_16MB
49+
esp32.menu.PartitionScheme.app3M_spiffs9M_16MB.upload.maximum_size=3145728
4750
esp32.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
4851
esp32.menu.PartitionScheme.default.build.partitions=default
4952
esp32.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
Lines changed: 7 additions & 0 deletions
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, 0x300000,
5+
app1, app, ota_1, 0x310000,0x300000,
6+
spiffs, data, spiffs, 0x610000,0x9F0000,
7+
# to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage,,,,

0 commit comments

Comments
 (0)