From e7373548fa3dd51508b34ae9c673885f849f653e Mon Sep 17 00:00:00 2001 From: Rajko Stojadinovic Date: Wed, 2 May 2018 00:43:48 +0200 Subject: [PATCH] Make it smaller --- Makefile | 2 +- ipl/ffconf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d85718a..3df3ccc 100755 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ OBJS = $(addprefix $(BUILD)/, \ OBJS += $(addprefix $(BUILD)/, diskio.o ff.o ffunicode.o) ARCH := -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -CFLAGS = $(ARCH) -O2 -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11# -Wall +CFLAGS = $(ARCH) -Os -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11# -Wall LDFLAGS = $(ARCH) -nostartfiles -lgcc -Wl,--nmagic,--gc-sections .PHONY: all clean diff --git a/ipl/ffconf.h b/ipl/ffconf.h index b15741c..4926040 100755 --- a/ipl/ffconf.h +++ b/ipl/ffconf.h @@ -15,7 +15,7 @@ / and optional writing functions as well. */ -#define FF_FS_MINIMIZE 0 +#define FF_FS_MINIMIZE 3 /* This option defines minimization level to remove some basic API functions. / / 0: Basic functions are fully enabled.