use gcc optimize settings sections (#23765)

This commit is contained in:
Jason2866
2025-08-07 14:24:02 +02:00
committed by GitHub
parent 5bd9414012
commit 82ab4d1a88
+3
View File
@@ -16,6 +16,9 @@ build_flags = ${esp_defaults.build_flags}
-Wno-switch-unreachable
-Wno-stringop-overflow
-fno-exceptions
-ffunction-sections
-fdata-sections
-Wl,--gc-sections
-DBUFFER_LENGTH=128
-DHTTP_UPLOAD_BUFLEN=2048
-DMQTT_MAX_PACKET_SIZE=1200