Skip to content

Commit 12581ed

Browse files
committed
update to increase factory partition size for sparkfun iot redboard
1 parent da2f656 commit 12581ed

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

ports/esp32/boards/SPARKFUN_IOT_REDBOARD_ESP32/mpconfigboard.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(SDKCONFIG_DEFAULTS
22
boards/sdkconfig.base
33
boards/sdkconfig.ble
44
boards/sdkconfig.240mhz
5+
boards/SPARKFUN_IOT_REDBOARD_ESP32/sdkconfig.base-sparkfun-plus
56
)
67

78
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Use the base "plus" paritition table - for larger images
2+
CONFIG_PARTITION_TABLE_CUSTOM=y
3+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiBplusplus.csv"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This partition table is for devices with 4MiB or more of flash.
2+
# The first 2MiB is used for bootloader, nvs, phy_init and firmware.
3+
# The remaining flash is for the user filesystem(s).
4+
5+
# Notes: the offset of the partition table itself is set in
6+
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
7+
# Name, Type, SubType, Offset, Size, Flags
8+
nvs, data, nvs, 0x9000, 0x6000,
9+
phy_init, data, phy, 0xf000, 0x1000,
10+
factory, app, factory, 0x10000, 0x1FF000,

0 commit comments

Comments
 (0)