Skip to content

Commit 1c85a1c

Browse files
authored
Activate default -Os optimization for Platform.IO (#619)
1 parent fdf30fe commit 1c85a1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/platformio-build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
ASFLAGS=env.get("CCFLAGS", [])[:],
5252

5353
CCFLAGS=[
54+
"-Os", # Optimize for size by default
5455
"-Werror=return-type",
5556
"-march=armv6-m",
5657
"-mcpu=cortex-m0plus",

0 commit comments

Comments
 (0)