Skip to content

Commit 46180e2

Browse files
authored
Merge pull request #527 from FBEZ-forks/patch/partition_table_article
added missing partitions_example.csv content in "How to use custom partition tables on ESP32" article
2 parents 751e8d9 + 8dbc6cc commit 46180e2

File tree

1 file changed

+10
-0
lines changed
  • content/blog/how-to-use-custom-partition-tables-on-esp32

1 file changed

+10
-0
lines changed

content/blog/how-to-use-custom-partition-tables-on-esp32/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,16 @@ It’s important to mention that the both OTA partitions should have the same si
182182
If not using OTA, you don’t need to set the size of 2MB on the factory partition, if your firmware size is less than 1MB.
183183

184184
Now we need to add the new CVS file, named as __*partitions_example.csv*__ and change the example to find the partition scheme:
185+
```bash
186+
# ESP-IDF Partition Table
187+
# Name, Type, SubType, Offset, Size, Flags
188+
nvs, data, nvs, 0x9000, 0x6000,
189+
otadata, data, ota, 0xf000, 0x2000,
190+
ota_0, app, ota_0, 0x20000, 0x200000,
191+
ota_1, app, ota_1, 0x220000, 0x200000,
192+
storage, data, spiffs, 0x420000, 0x200000,
193+
nvs_ext, data, nvs, 0x620000, 0x10000,
194+
```
185195

186196
After flashing and running the example, the output will show all detected partitions, according to our partition table layout.
187197

0 commit comments

Comments
 (0)