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:
parent
eae9e3cf67
commit
17236a12e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user