Skip to content

Commit 81c394b

Browse files
committed
boards: Modify Dial's partition table.
Signed-off-by: lbuque <[email protected]>
1 parent c47766b commit 81c394b

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

m5stack/boards/M5STACK_Dial/mpconfigboard.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set(SDKCONFIG_DEFAULTS
1616
./boards/sdkconfig.ble
1717
./boards/sdkconfig.usb
1818
./boards/sdkconfig.usb_cdc
19-
./boards/sdkconfig.flash_8mb
19+
# ./boards/sdkconfig.flash_8mb
2020
./boards/sdkconfig.freertos
2121
./boards/M5STACK_Dial/sdkconfig.board
2222
)

m5stack/boards/M5STACK_Dial/sdkconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
1212
CONFIG_SPIRAM_MEMTEST=
1313
# CONFIG_FREERTOS_UNICORE=y
1414

15+
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
16+
CONFIG_PARTITION_TABLE_CUSTOM=y
17+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_8mb_lvgl.csv"
18+
1519
# M5STACK UiFlow USB description
1620
CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack Dial(UiFlow2)"
1721

m5stack/partitions_8mb_lvgl.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
3+
nvs, data, nvs, 0x9000, 0x6000,
4+
phy_init, data, phy, 0xf000, 0x1000,
5+
factory, app, factory, 0x10000, 0x590000,
6+
sys, data, fat, 0x5A0000, 0x100000,
7+
vfs, data, fat, 0x6A0000, 0x15f000,

0 commit comments

Comments
 (0)