Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-02-27 06:00:39 +0300
committerChristopher Haster <chaster@utexas.edu>2017-02-27 06:00:39 +0300
commitc28a280c8d6316253e09a6926293a1f6f17b0886 (patch)
tree68e2e72305fca33f89faca4ec6cdeac943670739 /Makefile
parent160299d35c65381c2ebcb7662d8dacf18120cb5f (diff)
Adopted ctz skip-list structure earlier than expected
The primary data structure backing the little fs was planned to be a little ctz based skip-list for O(logn) lookup and O(1) append. Was initially planning to start with a simple linked list of index blocks, but was having trouble implementing the free-list on top of the structure. Went ahead and adopted the skip-list structure since it may have actually been easier.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c2bcc04..ed1afb5 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ ASM := $(SRC:.c=.s)
ifdef DEBUG
CFLAGS += -O0 -g3
else
-CFLAGS += -O2
+CFLAGS += -Os
endif
ifdef WORD
CFLAGS += -m$(WORD)