From 94c78bd571227b6fb8763a48ce7bb6e94da6d8f7 Mon Sep 17 00:00:00 2001 From: Empire Date: Tue, 20 Oct 2020 22:54:10 +0200 Subject: [PATCH] partitions with slightly more flash and smaller spiffs --- esp32/defaultWithSmallerSpiffs.csv | 6 ++++++ esp32/platformio.ini | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 esp32/defaultWithSmallerSpiffs.csv diff --git a/esp32/defaultWithSmallerSpiffs.csv b/esp32/defaultWithSmallerSpiffs.csv new file mode 100644 index 0000000..8458d8b --- /dev/null +++ b/esp32/defaultWithSmallerSpiffs.csv @@ -0,0 +1,6 @@ +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x5000, +otadata, data, ota, 0xe000, 0x2000, +app0, app, ota_0, 0x10000, 0x150000, +app1, app, ota_1, 0x160000,0x150000, +spiffs, data, spiffs, 0x300000,0x17000, diff --git a/esp32/platformio.ini b/esp32/platformio.ini index 64488d0..e0e7544 100644 --- a/esp32/platformio.ini +++ b/esp32/platformio.ini @@ -13,7 +13,7 @@ platform = espressif32 board = esp32doit-devkit-v1 framework = arduino build_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -board_build.partitions = default3.csv +board_build.partitions = defaultWithSmallerSpiffs.csv ; the latest development brankitchen-lightch (convention V3.0.x) lib_deps = ArduinoJson@6.16.1