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