espsss / reference / partitions

Arduino-ESP32 partition schemes

What Tools → Partition Scheme actually puts in flash: every table the 16 boards in this reference can select in arduino-esp32 3.3.12, drawn to scale, with the sketch size limit Arduino IDE enforces for each.

In short

  • The “Maximum is … bytes” limit Arduino IDE prints comes from upload.maximum_size in boards.txt; compare it with the app partition sizes below: it is one app slot, not the flash size.
  • OTA updates need two app slots (ota_0, ota_1) and otadata; see below.

What the partitions are

The sketch size limit

The “Maximum is … bytes” that Arduino prints after compiling is the board's upload.maximum_size property from boards.txt. In the schemes below it is the size of one app partition, not the flash size. The exception is RainMaker 8MB: its app slots are 0x3EA000 (4,104,192) bytes, while boards.txt sets the limit to 4,096,000 bytes for most boards and to 4,116,480 bytes for the ESP32-C5.342

Partition table at 0x8000

The partition table itself sits at offset 0x8000 by default and takes one 4 KB sector, so the first partition starts at 0x9000 or later. Everything below it belongs to the bootloader.35

App partitions are 64 KB aligned

App partitions must start at offsets aligned to 0x10000 (64 KB).35

nvs

Key-value storage used by the NVS API (Preferences in Arduino, Wi-Fi credentials). ESP-IDF's own default size is 0x6000 bytes; Arduino's default.csv uses 0x5000.355

otadata

Records which OTA app slot to boot. If it is empty, the bootloader runs the factory app. It should be 0x2000 bytes.35

spiffs / fat / littlefs

Data partitions for a filesystem: subtype fat (0x81), spiffs (0x82) or littlefs (0x83).35

coredump

Space where a core dump can be stored after a crash.35

OTA needs two app slots

Over-the-air updates need at least two OTA app partitions (ota_0 and ota_1) plus the otadata partition: the new firmware is written to the slot that is not running. Schemes with a single app partition give a bigger sketch but cannot do OTA.36

Mismatches in arduino-esp32 3.3.12

platform.txt copies the menu's build.partitions table first, then overwrites it with {build.custom_partitions}.csv from the board's variant folder only if that file exists, and finally with a partitions.csv from the sketch folder.37

ESP32C5 Dev Module: “RainMaker 8MB” allows 4,116,480 bytes

boards.txt sets the limit to 4,116,480 bytes2, but the largest app partition in rainmaker_8MB.csv is 4,104,192 bytes (12,288 bytes less). Confirmed by a test compile with arduino-cli and esp32 3.3.12 (2026-11-29). A sketch in between passes the size check but does not fit the partition.

Waveshare ESP32-S3-Zero: “OTA no FS (2MB APP with OTA)” builds with default.csv

The option asks for ota_nofs_4MB.csv from the variant folder2, but in arduino-esp32 3.3.12 that folder holds only pins_arduino.h38, so the board's default table default.csv is used while the size check allows 2,031,616 bytes. A test compile with arduino-cli and esp32 3.3.12 (2026-11-29) confirmed it: the build folder's partitions.csv was default.csv and the output said “Maximum is 2031616 bytes”. A sketch larger than the app partition passes the check but does not fit. Use another scheme, or put the table you want as partitions.csv in the sketch folder.

Waveshare ESP32-S3-Zero: “Max APP (4MB APP no OTA)” builds with default.csv

The option asks for max_app_4MB.csv from the variant folder2, but in arduino-esp32 3.3.12 that folder holds only pins_arduino.h38, so the board's default table default.csv is used while the size check allows 4,063,232 bytes. A test compile with arduino-cli and esp32 3.3.12 (2026-11-29) confirmed it: the build folder's partitions.csv was default.csv and the output said “Maximum is 4063232 bytes”. A sketch larger than the app partition passes the check but does not fit. Use another scheme, or put the table you want as partitions.csv in the sketch folder.

bootloader + tablenvsotadataappfilesystemcoredumpotherunused

2 MB flash

minimal.csv1 1 app slot · uses 2 MB of 2 MB

  • Minimal (1.3MB APP/700KB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, XIAO_ESP32C3

default for ESP32C2 Dev Module

max sketch 1.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.25 MB
spiffsdataspiffs0x150000640 KB
coredumpdatacoredump0x1f000064 KB

zigbee_2MB.csv3 1 app slot · uses 2 MB of 2 MB

  • Zigbee 2MB with spiffs — ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module

max sketch 1.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
factoryappfactory0x100001.25 MB
spiffsdataspiffs0x150000620 KB
zb_storagedatafat0x1eb00016 KB
zb_fctdatafat0x1ef0004 KB
coredumpdatacoredump0x1f000064 KB

zigbee_zczr_2MB.csv4 1 app slot · uses 2 MB of 2 MB

  • Zigbee ZCZR 2MB with spiffs — ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module

max sketch 1.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
factoryappfactory0x100001.25 MB
spiffsdataspiffs0x150000616 KB
zb_storagedatafat0x1ea00016 KB
zb_fctdatafat0x1ee0004 KB
rcp_fwdataspiffs0x1ef0004 KB
coredumpdatacoredump0x1f000064 KB

4 MB flash

default.csv5 2 app slots · uses 4 MB of 4 MB

  • Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6
  • OTA no FS (2MB APP with OTA) — Waveshare ESP32-S3-Zero
  • Max APP (4MB APP no OTA) — Waveshare ESP32-S3-Zero

default for ESP32 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 1.25 MB2 max sketch 1.94 MB2 max sketch 3.88 MB2

⚠ Waveshare ESP32-S3-Zero → “OTA no FS (2MB APP with OTA)” also builds with this table, but its size check allows 2,031,616 bytes. Why

⚠ Waveshare ESP32-S3-Zero → “Max APP (4MB APP no OTA)” also builds with this table, but its size check allows 4,063,232 bytes. Why

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.25 MB
app1appota_10x1500001.25 MB
spiffsdataspiffs0x2900001.38 MB
coredumpdatacoredump0x3f000064 KB

default_ffat.csv6 2 app slots · uses 4 MB of 4 MB

  • Default 4MB with ffat (1.2MB APP/1.5MB FATFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 1.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.25 MB
app1appota_10x1500001.25 MB
ffatdatafat0x2900001.38 MB
coredumpdatacoredump0x3f000064 KB

huge_app.csv7 1 app slot · uses 4 MB of 4 MB

  • Huge APP (3MB No OTA/1MB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 3 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003 MB
spiffsdataspiffs0x310000896 KB
coredumpdatacoredump0x3f000064 KB

min_spiffs.csv8 2 app slots · uses 4 MB of 4 MB

  • Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, Waveshare ESP32-S3-Zero, XIAO_ESP32C3

max sketch 1.88 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.88 MB
app1appota_10x1f00001.88 MB
spiffsdataspiffs0x3d0000128 KB
coredumpdatacoredump0x3f000064 KB

no_fs.csv9 2 app slots · uses 4 MB of 4 MB

  • No FS 4MB (2MB APP x2) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module

max sketch 1.94 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.94 MB
app1appota_10x2000001.94 MB
coredumpdatacoredump0x3f000064 KB

no_ota.csv10 1 app slot · uses 4 MB of 4 MB

  • No OTA (2MB APP/2MB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 2 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100002 MB
spiffsdataspiffs0x2100001.88 MB
coredumpdatacoredump0x3f000064 KB

noota_3g.csv11 1 app slot · uses 4 MB of 4 MB

  • No OTA (1MB APP/3MB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 1 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001 MB
spiffsdataspiffs0x1100002.88 MB
coredumpdatacoredump0x3f000064 KB

noota_3gffat.csv12 1 app slot · uses 4 MB of 4 MB

  • No OTA (1MB APP/3MB FATFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 1 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001 MB
ffatdatafat0x1100002.88 MB
coredumpdatacoredump0x3f000064 KB

noota_ffat.csv13 1 app slot · uses 4 MB of 4 MB

  • No OTA (2MB APP/2MB FATFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C2 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, LOLIN S2 Mini, Waveshare ESP32-S3-Zero, XIAO_ESP32C3, XIAO_ESP32C6

max sketch 2 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100002 MB
ffatdatafat0x2100001.88 MB
coredumpdatacoredump0x3f000064 KB

rainmaker.csv14 2 app slots · uses 4 MB of 4 MB

  • RainMaker 4MB — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, Waveshare ESP32-S3-Zero, XIAO_ESP32C3

max sketch 1.88 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
ota_0appota_00x100001.88 MB
ota_1appota_10x1f00001.88 MB
fctrydatanvs0x3d000024 KB
coredumpdatacoredump0x3f000064 KB

rainmaker_4MB_no_ota.csv15 1 app slot · uses 4 MB of 4 MB

  • RainMaker 4MB No OTA — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, Waveshare ESP32-S3-Zero, XIAO_ESP32C3

max sketch 3.85 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
ota_0appota_00x100003.85 MB
fctrydatanvs0x3ea00024 KB
coredumpdatacoredump0x3f000064 KB

storage_4MB_noota.csv16 1 app slot · uses 4 MB of 4 MB

  • Storage APP (2MB APP/1MB NVS/1MB SPIFFS) — ESP32 Dev Module

max sketch 2 MB2

NameTypeSubtypeOffsetSize
app0appfactory0x100002 MB
nvsdatanvs0x2100001 MB
spiffsdataspiffs0x310000896 KB
coredumpdatacoredump0x3f000064 KB

zigbee.csv17 2 app slots · uses 4 MB of 4 MB

  • Zigbee 4MB with spiffs — ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module, XIAO_ESP32C6

max sketch 1.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.25 MB
app1appota_10x1500001.25 MB
spiffsdataspiffs0x2900001.36 MB
zb_storagedatafat0x3eb00016 KB
zb_fctdatafat0x3ef0004 KB
coredumpdatacoredump0x3f000064 KB

zigbee_zczr.csv18 2 app slots · uses 4 MB of 4 MB

  • Zigbee ZCZR 4MB with spiffs — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module, XIAO_ESP32C6

max sketch 1.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100001.25 MB
app1appota_10x1500001.25 MB
spiffsdataspiffs0x2900001.35 MB
zb_storagedatafat0x3ea00016 KB
zb_fctdatafat0x3ee0004 KB
rcp_fwdataspiffs0x3ef0004 KB
coredumpdatacoredump0x3f000064 KB

8 MB flash

default_8MB.csv19 2 app slots · uses 8 MB of 8 MB

  • 8M with spiffs (3MB APP/1.5MB SPIFFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, XIAO_ESP32C3
  • Default with spiffs (3MB APP/1.5MB SPIFFS) — XIAO_ESP32S3

default for XIAO_ESP32S3

max sketch 3.19 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003.19 MB
app1appota_10x3400003.19 MB
spiffsdataspiffs0x6700001.50 MB
coredumpdatacoredump0x7f000064 KB

max_app_8MB.csv20 1 app slot · uses 8 MB of 8 MB

  • Maximum APP (7.9MB APP No OTA/No FS) — XIAO_ESP32S3

max sketch 7.88 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appfactory0x100007.88 MB
coredumpdatacoredump0x7f000064 KB

rainmaker_8MB.csv21 2 app slots · uses 8 MB of 8 MB

  • RainMaker 8MB — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32C61 Dev Module, XIAO_ESP32C3

max sketch 3.91 MB2 max sketch 3.93 MB2

⚠ ESP32C5 Dev Module → “RainMaker 8MB”: Arduino accepts sketches up to 4,116,480 bytes, but the largest app partition in this table is 4,104,192 bytes.

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
ota_0appota_00x100003.91 MB
ota_1appota_10x4000003.91 MB
fctrydatanvs0x7ea00024 KB
coredumpdatacoredump0x7f000064 KB

tinyuf2-partitions-8MB.csv22 3 app slots · uses 8 MB of 8 MB

  • TinyUF2 8MB (2MB APP/3.7MB FFAT) — XIAO_ESP32S3

max sketch 2 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
ota_0appota_00x100002 MB
ota_1appota_10x2100002 MB
uf2appfactory0x410000256 KB
ffatdatafat0x4500003.69 MB

tinyuf2-partitions-8MB-noota.csv23 2 app slots · uses 8 MB of 8 MB

  • TinyUF2 8MB No OTA (4MB APP/3.7MB FFAT) — XIAO_ESP32S3

max sketch 4 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
ota_0appota_00x100004 MB
uf2appfactory0x410000256 KB
ffatdatafat0x4500003.69 MB

zigbee_8MB.csv24 2 app slots · uses 8 MB of 8 MB

  • Zigbee 8MB with spiffs — ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module

max sketch 3.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003.25 MB
app1appota_10x3500003.25 MB
spiffsdataspiffs0x6900001.36 MB
zb_storagedatafat0x7eb00016 KB
zb_fctdatafat0x7ef0004 KB
coredumpdatacoredump0x7f000064 KB

zigbee_zczr_8MB.csv25 2 app slots · uses 8 MB of 8 MB

  • Zigbee ZCZR 8MB with spiffs — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module

max sketch 3.25 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003.25 MB
app1appota_10x3500003.25 MB
spiffsdataspiffs0x6900001.35 MB
zb_storagedatafat0x7ea00016 KB
zb_fctdatafat0x7ee0004 KB
rcp_fwdataspiffs0x7ef0004 KB
coredumpdatacoredump0x7f000064 KB

16 MB flash

app3M_fat9M_16MB.csv26 2 app slots · uses 16 MB of 16 MB

  • 16M Flash (3MB APP/9.9MB FATFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, XIAO_ESP32C3

max sketch 3 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003 MB
app1appota_10x3100003 MB
ffatdatafat0x6100009.88 MB
coredumpdatacoredump0xff000064 KB

app3M_fat9M_fact512k_16MB.csv27 3 app slots · uses 16 MB of 16 MB

  • With FAT partition (default) — Arduino Nano ESP32

default for Arduino Nano ESP32

max sketch 3 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003 MB
app1appota_10x3100003 MB
ffatdatafat0x6100009.38 MB
factoryappfactory0xf70000512 KB
coredumpdatacoredump0xff000064 KB

app3M_spiffs9M_fact512k_16MB.csv28 3 app slots · uses 16 MB of 16 MB

  • With SPIFFS partition (advanced) — Arduino Nano ESP32

max sketch 3 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003 MB
app1appota_10x3100003 MB
spiffsdataspiffs0x6100009.38 MB
factoryappfactory0xf70000512 KB
coredumpdatacoredump0xff000064 KB

esp_sr_16.csv29 2 app slots · uses 16 MB of 16 MB

  • ESP SR 16M (3MB APP/6MB SPIFFS/3.9MB MODEL) — ESP32S3 Dev Module, ESP32P4 Dev Module

max sketch 3 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100003 MB
app1appota_10x3100003 MB
spiffsdataspiffs0x6100006 MB
modeldataspiffs0xc100003.88 MB
coredumpdatacoredump0xff000064 KB

ffat.csv30 2 app slots · uses 16 MB of 16 MB

  • 16M Flash (2MB APP/12.5MB FATFS) — ESP32 Dev Module, ESP32S2 Dev Module, ESP32S3 Dev Module, ESP32C3 Dev Module, ESP32C5 Dev Module, ESP32C6 Dev Module, ESP32H2 Dev Module, ESP32P4 Dev Module, XIAO_ESP32C3

max sketch 2 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100002 MB
app1appota_10x2100002 MB
ffatdatafat0x41000011.88 MB
coredumpdatacoredump0xff000064 KB

32 MB flash

default_32MB.csv31 2 app slots · uses 32 MB of 32 MB

  • 32M Flash (13MB APP/6.75MB SPIFFS) — ESP32S3 Dev Module, ESP32P4 Dev Module

max sketch 12.50 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x1000012.50 MB
app1appota_10xc9000012.50 MB
spiffsdataspiffs0x19100006.75 MB
coredumpdatacoredump0x1ff000064 KB

large_fat_32MB.csv32 2 app slots · uses 32 MB of 32 MB

  • 32M Flash (4.8MB APP/22MB FATFS) — ESP32S3 Dev Module, ESP32P4 Dev Module

max sketch 4.50 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100004.50 MB
app1appota_10x4900004.50 MB
ffatdatafat0x91000022.88 MB
coredumpdatacoredump0x1ff000064 KB

large_littlefs_32MB.csv33 2 app slots · uses 32 MB of 32 MB

  • 32M Flash (4.8MB APP/22MB LittleFS) — ESP32S3 Dev Module, ESP32P4 Dev Module

max sketch 4.50 MB2

NameTypeSubtypeOffsetSize
nvsdatanvs0x900020 KB
otadatadataota0xe0008 KB
app0appota_00x100004.50 MB
app1appota_10x4900004.50 MB
spiffsdataspiffs0x91000022.88 MB
coredumpdatacoredump0x1ff000064 KB

* offset left empty in the CSV and filled in the way ESP-IDF's partition tool does it (after the previous partition, aligned). Board names are the Tools → Board entries; “default” means the first option of the board's Partition Scheme menu, which Arduino selects unless you change it.

Sources

Checked 2026-11-28.

  1. arduino-esp32 3.3.12: tools/partitions/minimal.csv primary
    What it confirms (1)
    • minimal.csv “app0, app, ota_0, 0x10000, 0x140000,”
  2. arduino-esp32 3.3.12: boards.txt primary
    What it confirms (39)
    • upload.maximum_size for minimal “upload.maximum_size=1310720”
    • upload.maximum_size for zigbee_2MB “upload.maximum_size=1310720”
    • upload.maximum_size for zigbee_zczr_2MB “upload.maximum_size=1310720”
    • upload.maximum_size for default “upload.maximum_size=1310720”
    • upload.maximum_size for default “upload.maximum_size=2031616”
    • upload.maximum_size for default “upload.maximum_size=4063232”
    • upload.maximum_size for default_ffat “upload.maximum_size=1310720”
    • upload.maximum_size for huge_app “upload.maximum_size=3145728”
    • upload.maximum_size for min_spiffs “upload.maximum_size=1966080”
    • upload.maximum_size for no_fs “upload.maximum_size=2031616”
    • upload.maximum_size for no_ota “upload.maximum_size=2097152”
    • upload.maximum_size for noota_3g “upload.maximum_size=1048576”
    • upload.maximum_size for noota_3gffat “upload.maximum_size=1048576”
    • upload.maximum_size for noota_ffat “upload.maximum_size=2097152”
    • upload.maximum_size for rainmaker “upload.maximum_size=1966080”
    • upload.maximum_size for rainmaker_4MB_no_ota “upload.maximum_size=4038656”
    • upload.maximum_size for storage_4MB_noota “upload.maximum_size=2097152”
    • upload.maximum_size for zigbee “upload.maximum_size=1310720”
    • upload.maximum_size for zigbee_zczr “upload.maximum_size=1310720”
    • upload.maximum_size for default_8MB “upload.maximum_size=3342336”
    • upload.maximum_size for max_app_8MB “upload.maximum_size=8257536”
    • upload.maximum_size for rainmaker_8MB “upload.maximum_size=4096000”
    • upload.maximum_size for rainmaker_8MB “upload.maximum_size=4116480”
    • upload.maximum_size for tinyuf2-partitions-8MB “upload.maximum_size=2097152”
    • upload.maximum_size for tinyuf2-partitions-8MB-noota “upload.maximum_size=4194304”
    • upload.maximum_size for zigbee_8MB “upload.maximum_size=3407872”
    • upload.maximum_size for zigbee_zczr_8MB “upload.maximum_size=3407872”
    • upload.maximum_size for app3M_fat9M_16MB “upload.maximum_size=3145728”
    • upload.maximum_size for app3M_fat9M_fact512k_16MB “upload.maximum_size=3145728”
    • upload.maximum_size for app3M_spiffs9M_fact512k_16MB “upload.maximum_size=3145728”
    • upload.maximum_size for esp_sr_16 “upload.maximum_size=3145728”
    • upload.maximum_size for ffat “upload.maximum_size=2097152”
    • upload.maximum_size for default_32MB “upload.maximum_size=13107200”
    • upload.maximum_size for large_fat_32MB “upload.maximum_size=4718592”
    • upload.maximum_size for large_littlefs_32MB “upload.maximum_size=4718592”
    • Partition tables: The sketch size limit “esp32s3.menu.PartitionScheme.rainmaker_8MB.upload.maximum_size=4096000 … esp32c5.menu.PartitionScheme.rainmaker_8MB.upload.maximum_size=4116480 … ota_0, app, ota_0, 0x10000, 0x3EA000,”
    • ESP32C5 Dev Module: RainMaker 8MB “esp32c5.menu.PartitionScheme.rainmaker_8MB=RainMaker 8MB … esp32c5.menu.PartitionScheme.rainmaker_8MB.upload.maximum_size=4116480”
    • Waveshare ESP32-S3-Zero: OTA no FS (2MB APP with OTA) “waveshare_esp32_s3_zero.menu.PartitionScheme.otanofs=OTA no FS (2MB APP with OTA) … waveshare_esp32_s3_zero.menu.PartitionScheme.otanofs.build.custom_partitions=ota_nofs_4MB … waveshare_esp32_s3_zero.menu.PartitionScheme.otanofs.upload.maximum_size=2031616”
    • Waveshare ESP32-S3-Zero: Max APP (4MB APP no OTA) “waveshare_esp32_s3_zero.menu.PartitionScheme.all_app=Max APP (4MB APP no OTA) … waveshare_esp32_s3_zero.menu.PartitionScheme.all_app.build.custom_partitions=max_app_4MB … waveshare_esp32_s3_zero.menu.PartitionScheme.all_app.upload.maximum_size=4063232”
  3. arduino-esp32 3.3.12: tools/partitions/zigbee_2MB.csv primary
    What it confirms (1)
    • zigbee_2MB.csv “factory, app, factory, 0x10000, 0x140000,”
  4. arduino-esp32 3.3.12: tools/partitions/zigbee_zczr_2MB.csv primary
    What it confirms (1)
    • zigbee_zczr_2MB.csv “factory, app, factory, 0x10000, 0x140000,”
  5. arduino-esp32 3.3.12: tools/partitions/default.csv primary
    What it confirms (2)
    • default.csv “app0, app, ota_0, 0x10000, 0x140000,”
    • Partition tables: nvs “nvs, data, nvs, 0x9000, 0x5000,”
  6. arduino-esp32 3.3.12: tools/partitions/default_ffat.csv primary
    What it confirms (1)
    • default_ffat.csv “app0, app, ota_0, 0x10000, 0x140000,”
  7. arduino-esp32 3.3.12: tools/partitions/huge_app.csv primary
    What it confirms (1)
    • huge_app.csv “app0, app, ota_0, 0x10000, 0x300000,”
  8. arduino-esp32 3.3.12: tools/partitions/min_spiffs.csv primary
    What it confirms (1)
    • min_spiffs.csv “app0, app, ota_0, 0x10000, 0x1E0000,”
  9. arduino-esp32 3.3.12: tools/partitions/no_fs.csv primary
    What it confirms (1)
    • no_fs.csv “app0, app, ota_0, 0x10000, 0x1F0000,”
  10. arduino-esp32 3.3.12: tools/partitions/no_ota.csv primary
    What it confirms (1)
    • no_ota.csv “app0, app, ota_0, 0x10000, 0x200000,”
  11. arduino-esp32 3.3.12: tools/partitions/noota_3g.csv primary
    What it confirms (1)
    • noota_3g.csv “app0, app, ota_0, 0x10000, 0x100000,”
  12. arduino-esp32 3.3.12: tools/partitions/noota_3gffat.csv primary
    What it confirms (1)
    • noota_3gffat.csv “app0, app, ota_0, 0x10000, 0x100000,”
  13. arduino-esp32 3.3.12: tools/partitions/noota_ffat.csv primary
    What it confirms (1)
    • noota_ffat.csv “app0, app, ota_0, 0x10000, 0x200000,”
  14. arduino-esp32 3.3.12: tools/partitions/rainmaker.csv primary
    What it confirms (1)
    • rainmaker.csv “ota_0, app, ota_0, 0x10000, 0x1E0000,”
  15. arduino-esp32 3.3.12: tools/partitions/rainmaker_4MB_no_ota.csv primary
    What it confirms (1)
    • rainmaker_4MB_no_ota.csv “ota_0, app, ota_0, 0x10000, 0x3DA000,”
  16. arduino-esp32 3.3.12: tools/partitions/storage_4MB_noota.csv primary
    What it confirms (1)
    • storage_4MB_noota.csv “app0, app, factory, 0x10000, 0x200000,”
  17. arduino-esp32 3.3.12: tools/partitions/zigbee.csv primary
    What it confirms (1)
    • zigbee.csv “app0, app, ota_0, 0x10000, 0x140000,”
  18. arduino-esp32 3.3.12: tools/partitions/zigbee_zczr.csv primary
    What it confirms (1)
    • zigbee_zczr.csv “app0, app, ota_0, 0x10000, 0x140000,”
  19. arduino-esp32 3.3.12: tools/partitions/default_8MB.csv primary
    What it confirms (1)
    • default_8MB.csv “app0, app, ota_0, 0x10000, 0x330000,”
  20. arduino-esp32 3.3.12: tools/partitions/max_app_8MB.csv primary
    What it confirms (1)
    • max_app_8MB.csv “app0, app, factory, 0x10000, 0x7E0000,”
  21. arduino-esp32 3.3.12: tools/partitions/rainmaker_8MB.csv primary
    What it confirms (1)
    • rainmaker_8MB.csv “ota_0, app, ota_0, 0x10000, 0x3EA000,”
  22. arduino-esp32 3.3.12: tools/partitions/tinyuf2-partitions-8MB.csv primary
    What it confirms (1)
    • tinyuf2-partitions-8MB.csv “ota_0, app, ota_0, 0x10000, 2048K,”
  23. arduino-esp32 3.3.12: tools/partitions/tinyuf2-partitions-8MB-noota.csv primary
    What it confirms (1)
    • tinyuf2-partitions-8MB-noota.csv “ota_0, app, ota_0, 0x10000, 4096K,”
  24. arduino-esp32 3.3.12: tools/partitions/zigbee_8MB.csv primary
    What it confirms (1)
    • zigbee_8MB.csv “app0, app, ota_0, 0x10000, 0x340000,”
  25. arduino-esp32 3.3.12: tools/partitions/zigbee_zczr_8MB.csv primary
    What it confirms (1)
    • zigbee_zczr_8MB.csv “app0, app, ota_0, 0x10000, 0x340000,”
  26. arduino-esp32 3.3.12: tools/partitions/app3M_fat9M_16MB.csv primary
    What it confirms (1)
    • app3M_fat9M_16MB.csv “app0, app, ota_0, 0x10000, 0x300000,”
  27. arduino-esp32 3.3.12: tools/partitions/app3M_fat9M_fact512k_16MB.csv primary
    What it confirms (1)
    • app3M_fat9M_fact512k_16MB.csv “app0, app, ota_0, 0x10000, 0x300000,”
  28. arduino-esp32 3.3.12: tools/partitions/app3M_spiffs9M_fact512k_16MB.csv primary
    What it confirms (1)
    • app3M_spiffs9M_fact512k_16MB.csv “app0, app, ota_0, 0x10000, 0x300000,”
  29. arduino-esp32 3.3.12: tools/partitions/esp_sr_16.csv primary
    What it confirms (1)
    • esp_sr_16.csv “app0, app, ota_0, 0x10000, 0x300000,”
  30. arduino-esp32 3.3.12: tools/partitions/ffat.csv primary
    What it confirms (1)
    • ffat.csv “app0, app, ota_0, 0x10000, 0x200000,”
  31. arduino-esp32 3.3.12: tools/partitions/default_32MB.csv primary
    What it confirms (1)
    • default_32MB.csv “app0, app, ota_0, 0x10000, 0xC80000,”
  32. arduino-esp32 3.3.12: tools/partitions/large_fat_32MB.csv primary
    What it confirms (1)
    • large_fat_32MB.csv “app0, app, ota_0, 0x10000, 0x480000,”
  33. arduino-esp32 3.3.12: tools/partitions/large_littlefs_32MB.csv primary
    What it confirms (1)
    • large_littlefs_32MB.csv “app0, app, ota_0, 0x10000, 0x480000,”
  34. arduino-cli v1.6.0: internal/arduino/builder/sizer.go primary
    What it confirms (1)
    • Partition tables: The sketch size limit “maxTextSizeString := properties.Get("upload.maximum_size") … of program storage space. Maximum is %[2]s bytes.”
  35. ESP-IDF v5.5.5 Programming Guide: Partition Tables (ESP32-S3) primary
    What it confirms (6)
    • Partition tables: Partition table at 0x8000 “a partition table is flashed to (default offset) 0x8000 in the flash … the partition table occupies an entire flash sector, which size is 0x1000 (4 KB)”
    • Partition tables: App partitions are 64 KB aligned “Partitions of type app have to be placed at offsets aligned to 0x10000 (64 KB).”
    • Partition tables: nvs “increase the NVS partition size from the default 0x6000 bytes”
    • Partition tables: otadata “The bootloader consults this data in order to know which app to execute. If "ota data" is empty, it will execute the factory app. … This partition should be 0x2000 bytes in size.”
    • Partition tables: spiffs / fat / littlefs “fat (0x81) is for FAT Filesystem Support. … spiffs (0x82) is for SPIFFS Filesystem. … littlefs (0x83) is for LittleFS filesystem.”
    • Partition tables: coredump “coredump (0x03) is for storing core dumps while using a custom partition table CSV file.”
  36. ESP-IDF v5.5.5 API Reference: Over The Air Updates (OTA) (ESP32-S3) primary
    What it confirms (1)
    • Partition tables: OTA needs two app slots “OTA requires configuring the Partition Tables of the device with at least two OTA app slot partitions (i.e., ota_0 and ota_1) and an OTA Data Partition.”
  37. arduino-esp32 3.3.12: platform.txt primary
    What it confirms (1)
    • Partition tables: build.custom_partitions only works if the CSV is in the variant folder “Lowest priority is copied … first and higher priority overwrites it: build.partitions < variant < source. … [ ! -f "{build.variant.path}"/{build.custom_partitions}.csv ]”
  38. arduino-esp32 3.3.12: variants/waveshare_esp32_s3_zero/ (folder contents) primary
    What it confirms (1)
    • Waveshare ESP32-S3-Zero: variant folder “"name": "pins_arduino.h"”