esp32_4MB_PSRAM changed from "M" to "S"

to provide some more space for future additions in the code.
This commit is contained in:
Frank
2023-03-30 18:48:39 +02:00
parent 922b8b69db
commit e8d3712d4f

View File

@@ -58,7 +58,7 @@ default_envs =
wemos_shield_esp32_16MB_SPM1423_XL
wemos_shield_esp32_16MB_LineIn_M
esp32_pico_4MB_M
esp32_4MB_PSRAM_M
esp32_4MB_PSRAM_S
esp32S3_8MB_M
esp32s2_tinyUF2_PSRAM_M ;; experimental - only for adafruit -S2 boards with tinyUF2 bootloader !!!
esp32c3dev_4MB_M ;; experimental
@@ -1257,31 +1257,52 @@ monitor_filters = esp32_exception_decoder
; Flash: [======== ] 78.1% (used 1638193 bytes from 2097152 bytes) WLEDMM: Earlier 76.9
;; experimental environment for boards with PSRAM (needs ESP-IDF 4.4.1).
[env:esp32_4MB_PSRAM_M]
extends = esp32_4MB_V4_M_base
[env:esp32_4MB_PSRAM_S]
extends = esp32_4MB_V4_S_base
board = lolin_d32_pro
;board = esp32cam
build_flags = ${esp32_4MB_V4_M_base.build_flags}
-D WLED_RELEASE_NAME=esp32_4MB_PSRAM_M
build_flags = ${esp32_4MB_V4_S_base.build_flags}
-D WLED_RELEASE_NAME=esp32_4MB_PSRAM_S
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
-D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
-D WLED_USE_PSRAM
; RAM: [== ] 24.8% (used 81424 bytes from 327680 bytes)
; Flash: [==========] 99.8% (used 1570457 bytes from 1572864 bytes)
; 99.8% !!!!
-D WLED_DISABLE_LOXONE ; FLASH 1272 bytes
-D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes
-D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
-D WLED_DISABLE_HUESYNC ;RAM 122 bytes; FLASH 6308 bytes
; RAM: [== ] 24.7% (used 80948 bytes from 327680 bytes)
; Flash: [==========] 97.4% (used 1532485 bytes from 1572864 bytes)
-D WLED_USE_PSRAM
-D WLED_DISABLE_LOXONE ; FLASH 1272 bytes
-D WLED_DISABLE_HUESYNC ; RAM 122 bytes; FLASH 6308 bytes
-D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes
-D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
-D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes ewowi: disabled to stay below 100%
; RAM: [== ] 24.7% (used 81000 bytes from 327680 bytes)
; Flash: [==========] 98.6% (used 1550569 bytes from 1572864 bytes)
; -D WLED_ENABLE_DMX
; -D WLED_DEBUG
; -D SR_DEBUG
; -D MIC_LOGGER
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
;; RAM: [== ] 24.3% (used 79524 bytes from 327680 bytes)
;; Flash: [========= ] 93.2% (used 1466389 bytes from 1572864 bytes)
;; PSRAM build env that only leaves 300Kb for filesystem (instead of 1MB), but adds 300kB for program space
[env:esp32_4MB_PSRAM_M]
extends = esp32_4MB_V4_M_base
board = lolin_d32_pro
;board = esp32cam
board_build.partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; 1.8MB firmware, 256KB filesystem (esptool erase_flash needed when changing from "standard WLED" partitions)
build_flags = ${esp32_4MB_V4_M_base.build_flags}
-D WLED_RELEASE_NAME=esp32_4MB_PSRAM_M
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
-D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
-D WLED_USE_PSRAM
-D WLED_DISABLE_LOXONE ;; FLASH 1272 bytes
-D WLED_DISABLE_HUESYNC ;; RAM 122 bytes; FLASH 6308 bytes
-D WLED_DISABLE_ALEXA ;; RAM 116 bytes; FLASH 13524 bytes
; -D WLED_DISABLE_MQTT ;; RAM 216 bytes; FLASH 16496 bytes
; -D WLED_DISABLE_INFRARED ;;RAM 136 bytes; FLASH 24492 bytes
; -D WLED_ENABLE_DMX
; -D WLED_DEBUG
; -D SR_DEBUG
; -D MIC_LOGGER
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
;monitor_filters = esp32_exception_decoder
;; RAM: [== ] 24.9% (used 81484 bytes from 327680 bytes)
;; Flash: [======== ] 84.6% (used 1607857 bytes from 1900544 bytes)
[env:esp32S3_8MB_M]
extends = esp32_4MB_V4_M_base