Add a "4MB without OTA" partition scheme

This is needed on the camera board, because we have a lot of code.
This commit is contained in:
Jeff Epler 2023-07-26 08:38:30 -05:00
parent f503b37b2b
commit 9edd8957a1
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size
# bootloader, app, boot, 0x1000/0x0, 28/32K
# partition_table, data, table, 0x8000, 4K
nvs, data, nvs, 0x9000, 28K
ota_0, app, ota_0, 0x10000, 2112K
uf2, app, factory, 0x220000, 256K
user_fs, data, fat, 0x260000, 1664K
1 # Name Type SubType Offset Size
2 # bootloader app boot 0x1000/0x0 28/32K
3 # partition_table data table 0x8000 4K
4 nvs data nvs 0x9000 28K
5 ota_0 app ota_0 0x10000 2112K
6 uf2 app factory 0x220000 256K
7 user_fs data fat 0x260000 1664K

View File

@ -0,0 +1,18 @@
#
# Serial flasher config
#
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
# end of Serial flasher config
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-4MB-no-ota.csv"
#
# Partition Table
#
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-4MB-no-ota.csv"
# end of Partition Table