Skip to content

Commit 7cbf26b

Browse files
esp32: Fix the C6 space problem.
Signed-off-by: Vincent1-python <pywei201209@163.com>
1 parent e488f88 commit 7cbf26b

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

ports/esp32/boards/ESP32_GENERIC_C6/mpconfigboard.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ set(SDKCONFIG_DEFAULTS
44
boards/sdkconfig.base
55
boards/sdkconfig.c6
66
boards/sdkconfig.ble
7+
boards/ESP32_GENERIC_C6/sdkconfig.board
78
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_PARTITION_TABLE_CUSTOM=y
2+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB.csv"
3+

ports/esp32/boards/ESP32_GENERIC_P4/sdkconfig.board

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
88
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
99
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
1010
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
11-
CONFIG_PARTITION_TABLE_CUSTOM=y
12-
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
1311

1412
# Memory
1513
CONFIG_SPIRAM=y

ports/esp32/partitions-4MiB.csv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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, 0x200000,

0 commit comments

Comments
 (0)