From 2b34b30314b623e9396865892c7eb4c674d90aa1 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:13:42 +0200 Subject: [PATCH] net debug for esp32_4MB_S --- platformio.ini | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 273759e9..2802084e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1094,7 +1094,7 @@ build_unflags = ; bin entries (with WLED_RELEASE_NAME) - +;; ESP32, 4MB, optimized for speed, basic features and audioreactive only [env:esp32_4MB_S] extends = esp32_4MB_S_base build_unflags = ${esp32_4MB_S_base.build_unflags} @@ -1109,12 +1109,15 @@ build_flags = ${esp32_4MB_S_base.build_flags} -D WLED_DISABLE_LOXONE ;-D WLED_DISABLE_MQTT ;-D WLED_DISABLE_INFRARED + ;WLEDMM: disable the next two lines if you don't need "net Debug". It will free ~2% of flash + -D WLED_DEBUG_HOST='"192.168.x.x"' ;; to send debug messages over network to host 192.168.x.y - FQDN is also possible + -D WLED_DEBUG_PORT=1768 ;; port for network debugging. default = 7868 ;; normal build ; RAM: [=== ] 25.0% (used 81988 bytes from 327680 bytes) ; Flash: [========= ] 87.4% (used 1374677 bytes from 1572864 bytes) WLEDMM: Earlier 85.7 ;; optimized-for-speed build -; RAM: [=== ] 25.1% (used 82092 bytes from 327680 bytes) -; Flash: [==========] 98.8% (used 1553629 bytes from 1572864 bytes) +; RAM: [=== ] 25.8% (used 84628 bytes from 327680 bytes) +; Flash: [==========] 99.4% (used 1562869 bytes from 1572864 bytes) [env:esp32_4MB_M] extends = esp32_4MB_M_base