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

pkg/littlefs2: set VFS params

This commit is contained in:
Benjamin Valentin 2020-04-15 00:20:58 +02:00
parent 17236a12e9
commit 67d68b2bd3

View File

@ -1,3 +1,8 @@
INCLUDES += -I$(PKGDIRBASE)/littlefs2
DIRS += $(RIOTBASE)/pkg/littlefs2/fs
# Set vfs file and dir buffer sizes
CFLAGS += -DVFS_FILE_BUFFER_SIZE=84 -DVFS_DIR_BUFFER_SIZE=52
# Reduce LFS_NAME_MAX to 31 (as VFS_NAME_MAX default)
CFLAGS += -DLFS_NAME_MAX=31