diff --git a/Marlin/src/HAL/HAL_ESP32/web.cpp b/Marlin/src/HAL/HAL_ESP32/web.cpp index 73f59f2add..b795efe3c5 100644 --- a/Marlin/src/HAL/HAL_ESP32/web.cpp +++ b/Marlin/src/HAL/HAL_ESP32/web.cpp @@ -26,6 +26,8 @@ #if BOTH(WIFISUPPORT, WEBSUPPORT) +#include "../../inc/MarlinConfig.h" + #undef DISABLED // esp32-hal-gpio.h #include #include "wifi.h" diff --git a/platformio.ini b/platformio.ini index db8f5dd6b7..5ea93ab8e0 100644 --- a/platformio.ini +++ b/platformio.ini @@ -753,7 +753,7 @@ src_filter = ${common.default_src_filter} + # Espressif ESP32 # [env:esp32] -platform = espressif32 +platform = espressif32@1.11.2 board = esp32dev build_flags = ${common.build_flags} -DCORE_DEBUG_LEVEL=0 lib_deps = ${common.lib_deps}