From bb7b4b2f79f1a62ce6581d2431017273b089be9b Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Wed, 17 Jul 2024 09:29:15 +0100 Subject: [PATCH] Tweak SmartMatrix build flags - smaller image size and brighter output --- platformio.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 8f9aea5b..db4d5952 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1030,8 +1030,11 @@ DMXin_lib_deps = https://github.com/someweisguy/esp_dmx.git#47db25d ;; for DMX_ DMXin_lib_ignore = esp_dmx ;; to remove the esp-dmx lib dependancy (saves a few bytes) HUB75_build_flags = - -D WLED_ENABLE_HUB75MATRIX ;-D SPIRAM_FRAMEBUFFER ;; WLEDMM HUB75 support - requires ESP-IDF v4.4.x - -D NO_GFX ; Disable the use of Adafruit_GFX by the HUB75 driver + -D WLED_ENABLE_HUB75MATRIX ;; - requires ESP-IDF v4.4.x + ;-D SPIRAM_FRAMEBUFFER ;; ONLY SUPPORTED ON ESP32-S3 VARIANTS WITH OCTAL (not quad) SPIRAM/PSRAM + -D NO_GFX ;; Disable the use of Adafruit_GFX by the HUB75 driver + -D NO_FAST_FUNCTIONS ;; If you are not using AdafruitGFX than you probably do not need this either, save memory/code size + -D NO_CIE1931 ;; Do not use LED brightness compensation described in CIE 1931. We use FastLED dimming already HUB75_lib_deps = https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA.git @ 3.0.10 HUB75_lib_ignore = ESP32 HUB75 LED MATRIX PANEL DMA Display ;; to remove the HUB75 lib dependancy (saves a few bytes)