Skip to content

Commit 2b34b30

Browse files
committed
net debug for esp32_4MB_S
1 parent e6e30ab commit 2b34b30

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

platformio.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ build_unflags =
10941094

10951095

10961096
; bin entries (with WLED_RELEASE_NAME)
1097-
1097+
;; ESP32, 4MB, optimized for speed, basic features and audioreactive only
10981098
[env:esp32_4MB_S]
10991099
extends = esp32_4MB_S_base
11001100
build_unflags = ${esp32_4MB_S_base.build_unflags}
@@ -1109,12 +1109,15 @@ build_flags = ${esp32_4MB_S_base.build_flags}
11091109
-D WLED_DISABLE_LOXONE
11101110
;-D WLED_DISABLE_MQTT
11111111
;-D WLED_DISABLE_INFRARED
1112+
;WLEDMM: disable the next two lines if you don't need "net Debug". It will free ~2% of flash
1113+
-D WLED_DEBUG_HOST='"192.168.x.x"' ;; to send debug messages over network to host 192.168.x.y - FQDN is also possible
1114+
-D WLED_DEBUG_PORT=1768 ;; port for network debugging. default = 7868
11121115
;; normal build
11131116
; RAM: [=== ] 25.0% (used 81988 bytes from 327680 bytes)
11141117
; Flash: [========= ] 87.4% (used 1374677 bytes from 1572864 bytes) WLEDMM: Earlier 85.7
11151118
;; optimized-for-speed build
1116-
; RAM: [=== ] 25.1% (used 82092 bytes from 327680 bytes)
1117-
; Flash: [==========] 98.8% (used 1553629 bytes from 1572864 bytes)
1119+
; RAM: [=== ] 25.8% (used 84628 bytes from 327680 bytes)
1120+
; Flash: [==========] 99.4% (used 1562869 bytes from 1572864 bytes)
11181121

11191122
[env:esp32_4MB_M]
11201123
extends = esp32_4MB_M_base

0 commit comments

Comments
 (0)