From 5e162ffb71dd23dcd291926c92e4d05de8c1f556 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Wed, 16 Jul 2025 20:26:13 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Adds=20build=20flags=20for?= =?UTF-8?q?=20speed=20and=20gc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformio.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 4217799..b79d11a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -93,7 +93,10 @@ build_flags = -D CORE_DEBUG_LEVEL=4 -D register= -std=gnu++2a - -O3 + -Ofast + -ffunction-sections + -fdata-sections + -Wl,--gc-sections build_unflags = -std=gnu++11 build_src_flags = -Wformat=2