Skip to content

Commit fca342f

Browse files
committed
1 parent d444eff commit fca342f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

platformio_core_defs.ini

+1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ build_flags = -DESP32_STAGE
165165
; Just for those who lost track of the extremely confusing numbering schema.
166166
[core_esp32_IDF4_4__2_0_2]
167167
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2/platform-tasmota-espressif32-2.0.2.zip
168+
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/588/framework-arduinoespressif32-release_v4.4-3508fa225f.tar.gz
168169
build_flags = -DESP32_STAGE
169170

170171

platformio_esp32_envs.ini

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@ build_flags = ${core_esp32_IDF4_4__2_0_2.build_flags}
2222
monitor_filters = esp32_exception_decoder
2323

2424

25+
; -flto cannot be used for ESP32 C3!
26+
; See: https://github.com/letscontrolit/ESPEasy/pull/3845#issuecomment-1014857366
27+
2528
[esp32_common]
2629
extends = esp32_base
2730
lib_ignore = ${esp32_always.lib_ignore}, ESP32_ping, IRremoteESP8266, HeatpumpIR, ESP32 BLE Arduino
2831
build_flags = ${esp32_base.build_flags}
32+
-flto
2933
extra_scripts = ${esp32_base.extra_scripts}
3034
lib_deps = ${esp32_base.lib_deps}
31-
35+
build_unflags = ${esp32_base.build_unflags}
36+
-fexceptions
37+
-fno-lto
3238

3339
[esp32_common_LittleFS]
3440
extends = esp32_common

0 commit comments

Comments
 (0)