From 5cf33b116b633e73e0638291fee40c8b66af827e Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:59:52 +0200 Subject: [PATCH] add LOLIN WiFi fix for -S2 build envs (MM style) --- platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio.ini b/platformio.ini index 1b70aa30..18be96f5 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1818,6 +1818,7 @@ build_flags = ${common.build_flags} ${esp32s2.build_flags} ${common_mm.build_flags_S} ${common_mm.build_flags_M} -Wno-misleading-indentation -Wno-format-truncation -D WLED_RELEASE_NAME=esp32s2_4MB_M + -DLOLIN_WIFI_FIX -DWLEDMM_WIFI_POWERON_HACK ;; seems to work much better with this -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 -D WLED_DISABLE_ADALIGHT ;; disables serial protocols, as the board only has CDC USB