From 6da81af7ec0dc636c8d216d08e74f538a3399975 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 1 Aug 2023 03:11:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=B2=20Adds=20custom=20board=20partitio?= =?UTF-8?q?ns=20allowing=20for=20bigger=20app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/no_oat.csv | 11 +++++++++++ platformio.ini | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 config/no_oat.csv diff --git a/config/no_oat.csv b/config/no_oat.csv new file mode 100644 index 0000000..367bb67 --- /dev/null +++ b/config/no_oat.csv @@ -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 \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index ff22682..4b5e314 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 \ No newline at end of file