fix and document template partition table
This commit is contained in:
parent
8d0a8a5763
commit
45be28cf60
|
@ -1,7 +1,7 @@
|
|||
# Espressif ESP32 Partition Table
|
||||
# Name, Type, SubType, Offset, Size
|
||||
factory, app, factory, 0x10000, 1M
|
||||
rfdata, data, rf, 0x110000, 256K
|
||||
wifidata,data, wifi, 0x150000, 256K
|
||||
nvs, data, nvs, 0x9000, 0x6000
|
||||
phy_init, data, phy, 0xf000, 0x1000
|
||||
factory, app, factory, 0x10000, 1M
|
||||
# 0xC2 => NodeMCU, 0x0 => Spiffs
|
||||
spiffs, 0xC2, 0x0, , 448K
|
||||
spiffs, 0xC2, 0x0, , 960K
|
||||
|
|
|
|
@ -90,3 +90,15 @@ Serial flasher config --->
|
|||
Flash SPI mode --->
|
||||
Detect flash size when flashing bootloader --->
|
||||
```
|
||||
|
||||
### Partition Table
|
||||
It is not required to set a custom partition table. Per default the IDF will select `Single factory app, no OTA` and the firmware will create a partition for SPIFFS automatically which fills the remaining flash space.
|
||||
|
||||
There is a template partition table available in `components/platform/partitions-2MB.csv` locates the SPIFFS partition at a fixed location. The file can be used as a template for custom partition tables with menuconfig:
|
||||
|
||||
```
|
||||
Partition Table --->
|
||||
Partition Table (Custom partition table CSV)
|
||||
(components/platform/partitions-2MB.csv) Custom partition CSV file
|
||||
(0x10000) Factory app partition offset
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue