LTO for esp32dev_8M

lto_size_optimization
Frank 2024-09-29 22:07:23 +02:00
rodzic d3f4326b1c
commit 0a3298cddc
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -424,7 +424,9 @@ board = esp32dev
platform = ${esp32_idf_V4.platform}
platform_packages = ${esp32_idf_V4.platform_packages}
build_unflags = ${common.build_unflags}
-fno-lto
build_flags = ${common.build_flags} ${esp32_idf_V4.build_flags} -D WLED_RELEASE_NAME=ESP32_8M #-D WLED_DISABLE_BROWNOUT_DET
-g3 -ggdb -flto=auto ;; enable size optimization by the linker - comment out when debugging. ("=4" just means "use 4 cores in parallel")
${esp32.AR_build_flags}
lib_deps = ${esp32_idf_V4.lib_deps}
${esp32.AR_lib_deps}