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