📲 Adds custom board partitions allowing for bigger app

This commit is contained in:
Rune Harlyk
2023-08-01 03:11:35 +02:00
parent 92404148d1
commit 6da81af7ec
2 changed files with 13 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# ESP-IDF Partition Table
# This gives us some additional space for code.
# It should also fix the OTA regression.
# Name, Type, SubType, Offset, Size, Flags
# Note that our NVS code assumes name 'storage' for the NVS partition
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x200000,
storage, data, spiffs, 0x210000, 0x1E0000
1 # ESP-IDF Partition Table
2 # This gives us some additional space for code.
3 # It should also fix the OTA regression.
4 # Name, Type, SubType, Offset, Size, Flags
5 # Note that our NVS code assumes name 'storage' for the NVS partition
6 nvs, data, nvs, 0x9000, 0x5000,
7 otadata, data, ota, 0xe000, 0x2000,
8 app0, app, ota_0, 0x10000, 0x200000,
9 storage, data, spiffs, 0x210000, 0x1E0000
+2
View File
@@ -22,3 +22,5 @@ lib_deps =
adafruit/Adafruit PWM Servo Driver Library@^2.4.1
adafruit/Adafruit SSD1306@^2.5.7
adafruit/Adafruit GFX Library@^1.11.5
board_build.partitions = config/biggest_spiffs.csv