Skip to content

Commit 9edd895

Browse files
committed
Add a "4MB without OTA" partition scheme
This is needed on the camera board, because we have a lot of code.
1 parent f503b37 commit 9edd895

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Serial flasher config
3+
#
4+
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
5+
# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
6+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
7+
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
8+
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
9+
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
10+
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
11+
# end of Serial flasher config
12+
13+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-4MB-no-ota.csv"
14+
#
15+
# Partition Table
16+
#
17+
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-4MB-no-ota.csv"
18+
# end of Partition Table

0 commit comments

Comments
 (0)