@@ -83,6 +83,7 @@ default_envs =
8383 esp32c3dev_2MB_M ; ; experimental - 2MB Flash, no OTA
8484 esp32c3mini_dio_4MB_M ; ; for boards that need "dio" flash mode (instead of qio)
8585 seeed_esp32c3_4MB_S ; ; experimental
86+ esp32_4MB_V4_Minimal
8687 esp32_4MB_V4_S ; ; experimental
8788 esp32_16MB_V4_S ; ; experimental - optimized for speed
8889 esp32_16MB_V4_M ; ; experimental
@@ -310,8 +311,8 @@ build_flags = -g
310311 ; -D WLEDMM_SLOWPATH ;; don't use I2S for LED bus
311312 ; -DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
312313
313- default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv ; ; WLED standard for 4MB flash: 1.4MB firmware, 1MB filesystem
314- ; default_partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; WLEDMM alternative for 4MB flash: 1.8MB firmware, 256KB filesystem (esptool erase_flash needed before changing)
314+ ; default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv ;; WLED standard for 4MB flash: 1.4MB firmware, 1MB filesystem
315+ default_partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ; ; WLEDMM alternative for 4MB flash: 1.8MB firmware, 256KB filesystem (esptool erase_flash needed before changing)
315316
316317tiny_partitions = tools/WLED_ESP32_2MB_noOTA.csv
317318extended_partitions = tools/WLED_ESP32_4MB_700k_FS.csv
@@ -1573,6 +1574,34 @@ lib_deps = ${esp8266.lib_deps}
15731574; ; Warning: the build-in LittleFS (arduino-esp32 2.0.x) seems to be "slightly different" from Lorol LittleFS.
15741575; ; When upgrading to the new framework, it might be necessary to first do a chip erase (make sure you have a backup of cfg.json and presets.json)
15751576
1577+ ; compiled with ESP-IDF 4.4.1
1578+ [env:esp32_4MB_V4_Minimal]
1579+ extends = esp32_4MB_V4_S_base
1580+ board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv ; ; WLED-AC compatibility
1581+ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
1582+ -D WLED_RELEASE_NAME =esp32_4MB_V4_Minimal
1583+ -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
1584+ -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
1585+ -D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions.
1586+ -D WLED_DISABLE_LOXONE
1587+ -D WLED_DISABLE_ALEXA
1588+ ; -D WLED_DISABLE_HUESYNC
1589+ ; -D WLED_DISABLE_MQTT
1590+ -D WLED_DISABLE_INFRARED
1591+ ; -D WLED_DEBUG
1592+ ; -D SR_DEBUG
1593+ ; -D MIC_LOGGER
1594+ ; -D WLED_ENABLE_HUB75MATRIX
1595+
1596+ ; -flto
1597+ ; build_unflags = ${common.build_unflags} -fno-lto
1598+
1599+ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
1600+ lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
1601+
1602+ ; RAM: [=== ] 28.4% (used 92984 bytes from 327680 bytes)
1603+ ; Flash: [==========] 96.5% (used 1518009 bytes from 1572864 bytes)
1604+
15761605; compiled with ESP-IDF 4.4.1
15771606[env:esp32_4MB_V4_S]
15781607extends = esp32_4MB_V4_S_base
0 commit comments