diff --git a/platformio_esp32_envs.ini b/platformio_esp32_envs.ini index bdfd29ea3..13a27af92 100644 --- a/platformio_esp32_envs.ini +++ b/platformio_esp32_envs.ini @@ -18,14 +18,14 @@ extra_scripts = post:tools/pio/post_esp32.py ; more detail: https://embeddedartistry.com/blog/2020/04/13/prefer-gcc-ar-to-ar-in-your-buildsystems/ ; pre:tools/pio/apply_patches.py build_unflags = -Wall -; -fno-lto + -fno-lto build_flags = ${core_esp32_IDF5_1__3_0_2_SPIFFS.build_flags} ; ${mqtt_flags.build_flags} -DMQTT_MAX_PACKET_SIZE=2048 -DCONFIG_FREERTOS_ASSERT_DISABLE -DCONFIG_LWIP_ESP_GRATUITOUS_ARP -fno-strict-aliasing -; -flto + -flto=auto -Wswitch -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE monitor_filters = esp32_exception_decoder