reduce JSON buffer on S3 without PSRAM
leaves more RAM for HUB75 which is very RAM-hungry
This commit is contained in:
@@ -2293,11 +2293,15 @@ build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-inden
|
||||
${common_mm.build_disable_sync_interfaces}
|
||||
-D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions.
|
||||
-D WLEDMM_SAVE_FLASH
|
||||
-D JSON_BUFFER_SIZE=18432 ;; reduce JSON buffer space, to gain some free RAM
|
||||
-D SR_DMTYPE=254 ;; set AR default mode to 'Network Receive Only' to prevent driver conflicts, and to avoid allocating FFT buffers
|
||||
; -D WLED_DEBUG
|
||||
; -D SR_DEBUG
|
||||
lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_S}
|
||||
${common_mm.HUB75_lib_deps}
|
||||
${common_mm.animartrix_lib_deps}
|
||||
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
;; ${common_mm.DMXin_lib_ignore}
|
||||
board_build.f_flash = 80000000L
|
||||
board_build.flash_mode = dio
|
||||
board_build.partitions = ${esp32.extended_partitions} ;; 1.65MB firmware, 700KB filesystem
|
||||
@@ -2344,7 +2348,9 @@ build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-inden
|
||||
-D HW_PIN_SDA=42 ;; ESP32-S3 default: SDA = 8
|
||||
-D HW_PIN_SCL=41 ;; ESP32-S3 default: SCL = 9
|
||||
-D AUDIOPIN=-1
|
||||
-D SR_DMTYPE=1 -D I2S_SDPIN=16 -D I2S_CKPIN=17 -D I2S_WSPIN=47 -D MCLK_PIN=40
|
||||
-D JSON_BUFFER_SIZE=18432 ;; reduce JSON buffer space, to gain some free RAM
|
||||
-D SR_DMTYPE=254 ;; set AR default mode to 'Network Receive Only' to prevent driver conflicts, and to avoid allocating FFT buffers
|
||||
-D I2S_SDPIN=16 -D I2S_CKPIN=17 -D I2S_WSPIN=47 -D MCLK_PIN=40
|
||||
-D ES7243_SDAPIN=8 -D ES7243_SCLPIN=18
|
||||
; -D WLED_DEBUG
|
||||
; -D SR_DEBUG
|
||||
@@ -2352,6 +2358,8 @@ build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-inden
|
||||
lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_S} ${common_mm.lib_deps_V4_M}
|
||||
${common_mm.HUB75_lib_deps}
|
||||
${common_mm.animartrix_lib_deps}
|
||||
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
;; ${common_mm.DMXin_lib_ignore}
|
||||
|
||||
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
board_build.partitions = tools/WLED_ESP32_8MB.csv
|
||||
|
||||
Reference in New Issue
Block a user