esp:esp32:esp-idf-info:partitions
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| esp:esp32:esp-idf-info:partitions [2025/02/08 08:57] – oscar | esp:esp32:esp-idf-info:partitions [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Partitions ====== | ||
| - | ===== Partition table ===== | ||
| - | A file called **partitions.csv** is located in the root of the esp-idf project folder. | ||
| - | With content similar to: | ||
| - | < | ||
| - | # Name, | ||
| - | nvs, data, nvs, | ||
| - | otadata, | ||
| - | phy_init, data, phy, | ||
| - | ota_0, | ||
| - | ota_1, | ||
| - | config, | ||
| - | logging, | ||
| - | </ | ||
| - | ===== Updating a partition table ===== | ||
| - | Edit the contents of the partitions.csv file and run the following commands: | ||
| - | < | ||
| - | idf.py menuconfig | ||
| - | idf.py partition-table | ||
| - | idf.py build | ||
| - | idf.py -p / | ||
| - | idf.py -p / | ||
| - | </ | ||
| - | After that do a full flash or flash the individual partitions to their new locations | ||
| - | < | ||
| - | idf.py -p / | ||
| - | </ | ||
| - | |||
| - | ===== Erase a partition area ===== | ||
| - | esptool_py/ | ||
| - | |||
| - | ===== Full Flash ===== | ||
| - | idf.py -p / | ||
| - | python -m esptool --chip esp32c3 -p / | ||
| - | |||
| - | ===== Write APPLICATION to partition ===== | ||
| - | python -m esptool --chip esp32c3 -p / | ||
| - | |||
| - | |||
| - | ===== Read/Write config partition ===== | ||
| - | === Write Config to partition === | ||
| - | esptool.py --port / | ||
| - | === Read CONFIG from partition === | ||
| - | esptool.py --port / | ||
| - | |||
esp/esp32/esp-idf-info/partitions.1739005048.txt.gz · Last modified: by oscar
