Skip to content

Commit 231839b

Browse files
committed
add optimization flags to release
1 parent 83770dc commit 231839b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ build_flags =
5252
[env:release]
5353
build_flags =
5454
${env.build_flags}
55+
-O3
56+
-g # no downside to having debug info in release build
5557

5658
# build for debugger
5759
[env:debug]

0 commit comments

Comments
 (0)