Skip to content

Commit

Permalink
feat: reduce flash size by preventing inline function
Browse files Browse the repository at this point in the history
  • Loading branch information
edy555 committed Oct 17, 2019
1 parent 65a07a7 commit 512d3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 --specs=nano.specs -fstack-usage
USE_OPT = -O2 -fno-inline-small-functions -ggdb -fomit-frame-pointer -falign-functions=16 --specs=nano.specs -fstack-usage
endif

# C specific options here (added to USE_OPT).
Expand Down

0 comments on commit 512d3c9

Please sign in to comment.