optional 4MB partition file with almost 2MB program space

optional 4MB partition layout: 1.8MB firmware (+400KB), 256KB LittleFS (-800KB); based on  "min_spiffs.csv" from arduino-esp32, but increased filesystem partition from 128KB to 256KB.
This commit is contained in:
Frank
2023-03-11 20:40:12 +01:00
parent c82cb18045
commit c9f364de76
2 changed files with 9 additions and 1 deletions

View File

@@ -258,7 +258,8 @@ build_flags = -g
-D LOROL_LITTLEFS
; -DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when builing with arduino-esp32 >=2.0.3
default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv ;; WLED standard for 4MB flash: 1.4MB firmware, 1MB filesystem
;default_partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; Alternative for 4MB flash: 1.8MB firmware, 256KB filesystem (esptool erase_flash needed before changing)
lib_deps =
${env.lib_deps}