[riot-notifications] [RIOT-OS/RIOT] pkg/fs: set VFS params by fs, not by the application (#13866)
notifications at github.com
Mon May 18 18:25:59 CEST 2020
@vincent-d commented on this pull request.
> @@ -3,3 +3,8 @@ INCLUDES += -I$(PKGDIRBASE)/littlefs
ifneq (,$(filter littlefs_fs,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/littlefs/fs
+# 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
IIRC, there is a mechanism in littlefs to include a config file. I guess it could be used to include `vfs.h`.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications