1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

pkg/littlefs: set VFS params

This commit is contained in:
Benjamin Valentin 2020-04-15 00:20:28 +02:00
parent eae9e3cf67
commit 17236a12e9

View File

@ -3,3 +3,8 @@ INCLUDES += -I$(PKGDIRBASE)/littlefs
ifneq (,$(filter littlefs_fs,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/littlefs/fs
endif
# Set vfs file and dir buffer sizes
CFLAGS += -DVFS_FILE_BUFFER_SIZE=56 -DVFS_DIR_BUFFER_SIZE=44
# Reduce LFS_NAME_MAX to 31 (as VFS_NAME_MAX default)
CFLAGS += -DLFS_NAME_MAX=31