From b9ff0397b83bf055fe7c2d0535c8aeacb6f51199 Mon Sep 17 00:00:00 2001 From: nthnn Date: Mon, 18 Mar 2024 01:09:50 +0800 Subject: [PATCH] Some PlatformIO configs for optimizations. --- platformio.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index cfbfa82..3e3bbfd 100644 --- a/platformio.ini +++ b/platformio.ini @@ -14,4 +14,10 @@ board = upesy_wroom framework = arduino monitor_speed = 115200 lib_deps = adafruit/Adafruit SSD1306@^2.5.9 -build_flags = -O2 \ No newline at end of file +build_flags = + -DCORE_DEBUG_LEVEL=0 -I include + -Os + -fno-inline-functions + -mtext-section-literals +build_type = release +board_build.partitions = memconfig.csv \ No newline at end of file