Skip to content

Commit

Permalink
Merge pull request #363 from lyusupov/master
Browse files Browse the repository at this point in the history
Espressif 16MB flash memory layout with 4MB app/ota partitions
  • Loading branch information
hathach authored Nov 28, 2023
2 parents 686d14e + f38abdb commit ddd10ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/espressif/boards/lilygo_ttgo_t_twr_plus/sdkconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Board Specific Config

# Partition Table
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MB.csv"
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MB-ota4MB.csv"

# Serial flasher config
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
Expand Down
10 changes: 10 additions & 0 deletions ports/espressif/partitions-16MB-ota4MB.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
# bootloader.bin,, 0x1000, 32K
# partition table,, 0x8000, 4K
nvs, data, nvs, 0x9000, 20K,
otadata, data, ota, 0xe000, 8K,
ota_0, app, ota_0, 0x10000, 4096K,
ota_1, app, ota_1, 0x410000, 4096K,
uf2, app, factory,0x810000, 256K,
ffat, data, fat, 0x850000, 7872K,

0 comments on commit ddd10ca

Please sign in to comment.