Skip to content

Commit c9e1da8

Browse files
committed
Set 16MB in sdkconfig.board
1 parent 77ae1d3 commit c9e1da8

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
22
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
3+
# For cmake build
4+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
5+
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
6+
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
7+
CONFIG_ESPTOOLPY_FLASHSIZE_32MB=
8+
9+
CONFIG_PARTITION_TABLE_CUSTOM=y
10+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"

firmware/partitions-16MiB.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Notes: the offset of the partition table itself is set in
2+
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
3+
# Name, Type, SubType, Offset, Size, Flags
4+
nvs, data, nvs, 0x9000, 0x6000,
5+
phy_init, data, phy, 0xf000, 0x1000,
6+
factory, app, factory, 0x10000, 0x300000,
7+
vfs, data, fat, 0x310000, 0xCF0000,

firmware/partitions-32MiB.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Notes: the offset of the partition table itself is set in
2+
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
3+
# Name, Type, SubType, Offset, Size, Flags
4+
nvs, data, nvs, 0x9000, 0x6000,
5+
phy_init, data, phy, 0xf000, 0x1000,
6+
factory, app, factory, 0x10000, 0x2F0000,
7+
vfs, data, fat, 0x300000, 0x1D00000,

0 commit comments

Comments
 (0)