Skip to content

Commit e8d3712

Browse files
committed
esp32_4MB_PSRAM changed from "M" to "S"
to provide some more space for future additions in the code.
1 parent 922b8b6 commit e8d3712

File tree

1 file changed

+35
-14
lines changed

1 file changed

+35
-14
lines changed

platformio.ini

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ default_envs =
5858
wemos_shield_esp32_16MB_SPM1423_XL
5959
wemos_shield_esp32_16MB_LineIn_M
6060
esp32_pico_4MB_M
61-
esp32_4MB_PSRAM_M
61+
esp32_4MB_PSRAM_S
6262
esp32S3_8MB_M
6363
esp32s2_tinyUF2_PSRAM_M ;; experimental - only for adafruit -S2 boards with tinyUF2 bootloader !!!
6464
esp32c3dev_4MB_M ;; experimental
@@ -1257,31 +1257,52 @@ monitor_filters = esp32_exception_decoder
12571257
; Flash: [======== ] 78.1% (used 1638193 bytes from 2097152 bytes) WLEDMM: Earlier 76.9
12581258

12591259
;; experimental environment for boards with PSRAM (needs ESP-IDF 4.4.1).
1260+
[env:esp32_4MB_PSRAM_S]
1261+
extends = esp32_4MB_V4_S_base
1262+
board = lolin_d32_pro
1263+
;board = esp32cam
1264+
build_flags = ${esp32_4MB_V4_S_base.build_flags}
1265+
-D WLED_RELEASE_NAME=esp32_4MB_PSRAM_S
1266+
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
1267+
-D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
1268+
-D WLED_USE_PSRAM
1269+
-D WLED_DISABLE_LOXONE ; FLASH 1272 bytes
1270+
-D WLED_DISABLE_HUESYNC ; RAM 122 bytes; FLASH 6308 bytes
1271+
-D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes
1272+
-D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
1273+
-D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes ewowi: disabled to stay below 100%
1274+
; -D WLED_ENABLE_DMX
1275+
; -D WLED_DEBUG
1276+
; -D SR_DEBUG
1277+
; -D MIC_LOGGER
1278+
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
1279+
;; RAM: [== ] 24.3% (used 79524 bytes from 327680 bytes)
1280+
;; Flash: [========= ] 93.2% (used 1466389 bytes from 1572864 bytes)
1281+
1282+
;; PSRAM build env that only leaves 300Kb for filesystem (instead of 1MB), but adds 300kB for program space
12601283
[env:esp32_4MB_PSRAM_M]
12611284
extends = esp32_4MB_V4_M_base
12621285
board = lolin_d32_pro
12631286
;board = esp32cam
1287+
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)
12641288
build_flags = ${esp32_4MB_V4_M_base.build_flags}
12651289
-D WLED_RELEASE_NAME=esp32_4MB_PSRAM_M
12661290
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
12671291
-D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
1268-
-D WLED_USE_PSRAM
1269-
; RAM: [== ] 24.8% (used 81424 bytes from 327680 bytes)
1270-
; Flash: [==========] 99.8% (used 1570457 bytes from 1572864 bytes)
1271-
; 99.8% !!!!
1272-
-D WLED_DISABLE_LOXONE ; FLASH 1272 bytes
1273-
-D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes
1274-
-D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
1275-
-D WLED_DISABLE_HUESYNC ;RAM 122 bytes; FLASH 6308 bytes
1276-
; RAM: [== ] 24.7% (used 80948 bytes from 327680 bytes)
1277-
; Flash: [==========] 97.4% (used 1532485 bytes from 1572864 bytes)
1278-
-D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes ewowi: disabled to stay below 100%
1279-
; RAM: [== ] 24.7% (used 81000 bytes from 327680 bytes)
1280-
; Flash: [==========] 98.6% (used 1550569 bytes from 1572864 bytes)
1292+
-D WLED_USE_PSRAM
1293+
-D WLED_DISABLE_LOXONE ;; FLASH 1272 bytes
1294+
-D WLED_DISABLE_HUESYNC ;; RAM 122 bytes; FLASH 6308 bytes
1295+
-D WLED_DISABLE_ALEXA ;; RAM 116 bytes; FLASH 13524 bytes
1296+
; -D WLED_DISABLE_MQTT ;; RAM 216 bytes; FLASH 16496 bytes
1297+
; -D WLED_DISABLE_INFRARED ;;RAM 136 bytes; FLASH 24492 bytes
12811298
; -D WLED_ENABLE_DMX
12821299
; -D WLED_DEBUG
12831300
; -D SR_DEBUG
12841301
; -D MIC_LOGGER
1302+
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
1303+
;monitor_filters = esp32_exception_decoder
1304+
;; RAM: [== ] 24.9% (used 81484 bytes from 327680 bytes)
1305+
;; Flash: [======== ] 84.6% (used 1607857 bytes from 1900544 bytes)
12851306

12861307
[env:esp32S3_8MB_M]
12871308
extends = esp32_4MB_V4_M_base

0 commit comments

Comments
 (0)