Use the full Xteink X4 16MB flash size and default partition table, upload custom firmware in app0.

This commit is contained in:
Serge Baranov
2025-11-20 14:49:23 -08:00
parent c65bf243c5
commit 062a9d566a
2 changed files with 13 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x640000,
app1, app, ota_1, 0x650000,0x640000,
spiffs, data, spiffs, 0xc90000,0x360000,
coredump, data, coredump,0xFF0000,0x10000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0x2000
4 app0 app ota_0 0x10000 0x640000
5 app1 app ota_1 0x650000 0x640000
6 spiffs data spiffs 0xc90000 0x360000
7 coredump data coredump 0xFF0000 0x10000
+6 -2
View File
@@ -4,10 +4,14 @@ board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
; upload to app0
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_upload.offset_address = 0x10000
; Board configuration
board_build.flash_mode = dio
board_build.flash_size = 4MB
board_build.flash_size = 16MB
board_build.partitions = default_16MB.csv
; Libraries
lib_deps =