Skip to content

Commit

Permalink
pkg/littlefs2: set VFS params
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jun 17, 2020
1 parent 17236a1 commit 67d68b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/littlefs2/Makefile.include
@@ -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

0 comments on commit 67d68b2

Please sign in to comment.