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_sizein 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) andotadata; see below.
What the partitions are
The sketch size limitThe “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 0x8000The 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 alignedApp partitions must start at offsets aligned to 0x10000 (64 KB).35
nvsKey-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
otadataRecords which OTA app slot to boot. If it is empty, the bootloader runs the factory app. It should be 0x2000 bytes.35
spiffs / fat / littlefsData partitions for a filesystem: subtype fat (0x81), spiffs (0x82) or littlefs (0x83).35
coredumpSpace where a core dump can be stored after a crash.35
OTA needs two app slotsOver-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
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.
default.csvThe 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.
default.csvThe 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.
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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.25 MB |
spiffs | data | spiffs | 0x150000 | 640 KB |
coredump | data | coredump | 0x1f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
factory | app | factory | 0x10000 | 1.25 MB |
spiffs | data | spiffs | 0x150000 | 620 KB |
zb_storage | data | fat | 0x1eb000 | 16 KB |
zb_fct | data | fat | 0x1ef000 | 4 KB |
coredump | data | coredump | 0x1f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
factory | app | factory | 0x10000 | 1.25 MB |
spiffs | data | spiffs | 0x150000 | 616 KB |
zb_storage | data | fat | 0x1ea000 | 16 KB |
zb_fct | data | fat | 0x1ee000 | 4 KB |
rcp_fw | data | spiffs | 0x1ef000 | 4 KB |
coredump | data | coredump | 0x1f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.25 MB |
app1 | app | ota_1 | 0x150000 | 1.25 MB |
spiffs | data | spiffs | 0x290000 | 1.38 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.25 MB |
app1 | app | ota_1 | 0x150000 | 1.25 MB |
ffat | data | fat | 0x290000 | 1.38 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3 MB |
spiffs | data | spiffs | 0x310000 | 896 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.88 MB |
app1 | app | ota_1 | 0x1f0000 | 1.88 MB |
spiffs | data | spiffs | 0x3d0000 | 128 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.94 MB |
app1 | app | ota_1 | 0x200000 | 1.94 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 2 MB |
spiffs | data | spiffs | 0x210000 | 1.88 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1 MB |
spiffs | data | spiffs | 0x110000 | 2.88 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1 MB |
ffat | data | fat | 0x110000 | 2.88 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 2 MB |
ffat | data | fat | 0x210000 | 1.88 MB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
ota_0 | app | ota_0 | 0x10000 | 1.88 MB |
ota_1 | app | ota_1 | 0x1f0000 | 1.88 MB |
fctry | data | nvs | 0x3d0000 | 24 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
ota_0 | app | ota_0 | 0x10000 | 3.85 MB |
fctry | data | nvs | 0x3ea000 | 24 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
app0 | app | factory | 0x10000 | 2 MB |
nvs | data | nvs | 0x210000 | 1 MB |
spiffs | data | spiffs | 0x310000 | 896 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.25 MB |
app1 | app | ota_1 | 0x150000 | 1.25 MB |
spiffs | data | spiffs | 0x290000 | 1.36 MB |
zb_storage | data | fat | 0x3eb000 | 16 KB |
zb_fct | data | fat | 0x3ef000 | 4 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 1.25 MB |
app1 | app | ota_1 | 0x150000 | 1.25 MB |
spiffs | data | spiffs | 0x290000 | 1.35 MB |
zb_storage | data | fat | 0x3ea000 | 16 KB |
zb_fct | data | fat | 0x3ee000 | 4 KB |
rcp_fw | data | spiffs | 0x3ef000 | 4 KB |
coredump | data | coredump | 0x3f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3.19 MB |
app1 | app | ota_1 | 0x340000 | 3.19 MB |
spiffs | data | spiffs | 0x670000 | 1.50 MB |
coredump | data | coredump | 0x7f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | factory | 0x10000 | 7.88 MB |
coredump | data | coredump | 0x7f0000 | 64 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.
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
ota_0 | app | ota_0 | 0x10000 | 3.91 MB |
ota_1 | app | ota_1 | 0x400000 | 3.91 MB |
fctry | data | nvs | 0x7ea000 | 24 KB |
coredump | data | coredump | 0x7f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
ota_0 | app | ota_0 | 0x10000 | 2 MB |
ota_1 | app | ota_1 | 0x210000 | 2 MB |
uf2 | app | factory | 0x410000 | 256 KB |
ffat | data | fat | 0x450000 | 3.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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
ota_0 | app | ota_0 | 0x10000 | 4 MB |
uf2 | app | factory | 0x410000 | 256 KB |
ffat | data | fat | 0x450000 | 3.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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3.25 MB |
app1 | app | ota_1 | 0x350000 | 3.25 MB |
spiffs | data | spiffs | 0x690000 | 1.36 MB |
zb_storage | data | fat | 0x7eb000 | 16 KB |
zb_fct | data | fat | 0x7ef000 | 4 KB |
coredump | data | coredump | 0x7f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3.25 MB |
app1 | app | ota_1 | 0x350000 | 3.25 MB |
spiffs | data | spiffs | 0x690000 | 1.35 MB |
zb_storage | data | fat | 0x7ea000 | 16 KB |
zb_fct | data | fat | 0x7ee000 | 4 KB |
rcp_fw | data | spiffs | 0x7ef000 | 4 KB |
coredump | data | coredump | 0x7f0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3 MB |
app1 | app | ota_1 | 0x310000 | 3 MB |
ffat | data | fat | 0x610000 | 9.88 MB |
coredump | data | coredump | 0xff0000 | 64 KB |
app3M_fat9M_fact512k_16MB.csv27 3 app slots · uses 16 MB of 16 MB
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3 MB |
app1 | app | ota_1 | 0x310000 | 3 MB |
ffat | data | fat | 0x610000 | 9.38 MB |
factory | app | factory | 0xf70000 | 512 KB |
coredump | data | coredump | 0xff0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3 MB |
app1 | app | ota_1 | 0x310000 | 3 MB |
spiffs | data | spiffs | 0x610000 | 9.38 MB |
factory | app | factory | 0xf70000 | 512 KB |
coredump | data | coredump | 0xff0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 3 MB |
app1 | app | ota_1 | 0x310000 | 3 MB |
spiffs | data | spiffs | 0x610000 | 6 MB |
model | data | spiffs | 0xc10000 | 3.88 MB |
coredump | data | coredump | 0xff0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 2 MB |
app1 | app | ota_1 | 0x210000 | 2 MB |
ffat | data | fat | 0x410000 | 11.88 MB |
coredump | data | coredump | 0xff0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 12.50 MB |
app1 | app | ota_1 | 0xc90000 | 12.50 MB |
spiffs | data | spiffs | 0x1910000 | 6.75 MB |
coredump | data | coredump | 0x1ff0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 4.50 MB |
app1 | app | ota_1 | 0x490000 | 4.50 MB |
ffat | data | fat | 0x910000 | 22.88 MB |
coredump | data | coredump | 0x1ff0000 | 64 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
| Name | Type | Subtype | Offset | Size |
|---|---|---|---|---|
nvs | data | nvs | 0x9000 | 20 KB |
otadata | data | ota | 0xe000 | 8 KB |
app0 | app | ota_0 | 0x10000 | 4.50 MB |
app1 | app | ota_1 | 0x490000 | 4.50 MB |
spiffs | data | spiffs | 0x910000 | 22.88 MB |
coredump | data | coredump | 0x1ff0000 | 64 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.
- arduino-esp32 3.3.12: tools/partitions/minimal.csv primary
What it confirms (1)
- minimal.csv “app0, app, ota_0, 0x10000, 0x140000,”
- 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”
- arduino-esp32 3.3.12: tools/partitions/zigbee_2MB.csv primary
What it confirms (1)
- zigbee_2MB.csv “factory, app, factory, 0x10000, 0x140000,”
- 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,”
- 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,”
- arduino-esp32 3.3.12: tools/partitions/default_ffat.csv primary
What it confirms (1)
- default_ffat.csv “app0, app, ota_0, 0x10000, 0x140000,”
- arduino-esp32 3.3.12: tools/partitions/huge_app.csv primary
What it confirms (1)
- huge_app.csv “app0, app, ota_0, 0x10000, 0x300000,”
- arduino-esp32 3.3.12: tools/partitions/min_spiffs.csv primary
What it confirms (1)
- min_spiffs.csv “app0, app, ota_0, 0x10000, 0x1E0000,”
- arduino-esp32 3.3.12: tools/partitions/no_fs.csv primary
What it confirms (1)
- no_fs.csv “app0, app, ota_0, 0x10000, 0x1F0000,”
- arduino-esp32 3.3.12: tools/partitions/no_ota.csv primary
What it confirms (1)
- no_ota.csv “app0, app, ota_0, 0x10000, 0x200000,”
- arduino-esp32 3.3.12: tools/partitions/noota_3g.csv primary
What it confirms (1)
- noota_3g.csv “app0, app, ota_0, 0x10000, 0x100000,”
- arduino-esp32 3.3.12: tools/partitions/noota_3gffat.csv primary
What it confirms (1)
- noota_3gffat.csv “app0, app, ota_0, 0x10000, 0x100000,”
- arduino-esp32 3.3.12: tools/partitions/noota_ffat.csv primary
What it confirms (1)
- noota_ffat.csv “app0, app, ota_0, 0x10000, 0x200000,”
- arduino-esp32 3.3.12: tools/partitions/rainmaker.csv primary
What it confirms (1)
- rainmaker.csv “ota_0, app, ota_0, 0x10000, 0x1E0000,”
- 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,”
- 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,”
- arduino-esp32 3.3.12: tools/partitions/zigbee.csv primary
What it confirms (1)
- zigbee.csv “app0, app, ota_0, 0x10000, 0x140000,”
- arduino-esp32 3.3.12: tools/partitions/zigbee_zczr.csv primary
What it confirms (1)
- zigbee_zczr.csv “app0, app, ota_0, 0x10000, 0x140000,”
- arduino-esp32 3.3.12: tools/partitions/default_8MB.csv primary
What it confirms (1)
- default_8MB.csv “app0, app, ota_0, 0x10000, 0x330000,”
- 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,”
- 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,”
- 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,”
- 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,”
- arduino-esp32 3.3.12: tools/partitions/zigbee_8MB.csv primary
What it confirms (1)
- zigbee_8MB.csv “app0, app, ota_0, 0x10000, 0x340000,”
- 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,”
- 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,”
- 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,”
- 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,”
- 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,”
- arduino-esp32 3.3.12: tools/partitions/ffat.csv primary
What it confirms (1)
- ffat.csv “app0, app, ota_0, 0x10000, 0x200000,”
- arduino-esp32 3.3.12: tools/partitions/default_32MB.csv primary
What it confirms (1)
- default_32MB.csv “app0, app, ota_0, 0x10000, 0xC80000,”
- 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,”
- 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,”
- 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.”
- 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.”
- 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.”
- 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 ]”
- 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"”