From 512d3c9523b10bfb36f3446b5bef0f35ab970825 Mon Sep 17 00:00:00 2001 From: TT Date: Fri, 18 Oct 2019 00:47:47 +0900 Subject: [PATCH] feat: reduce flash size by preventing inline function --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 908caff..e4b905b 100644 --- a/Makefile +++ b/Makefile @@ -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).