Skip to content

Commit 5cd7317

Browse files
authored
Merge pull request #2185 from yogpan01/master
Changing -O2 parameter to -Os
2 parents 8ab89c1 + e6043da commit 5cd7317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(self, target, options=None, notify=None, macros=None, silent=False,
9494
self.flags["common"].append("-g")
9595
self.flags["common"].append("-O0")
9696
else:
97-
self.flags["common"].append("-O2")
97+
self.flags["common"].append("-Os")
9898

9999
main_cc = join(tool_path, "arm-none-eabi-gcc")
100100
main_cppc = join(tool_path, "arm-none-eabi-g++")

0 commit comments

Comments
 (0)