From 3068dad305a5c2e54d2665b6389bfbc8fa68d9a5 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 15 Apr 2020 00:21:10 +0200 Subject: [PATCH] pkg/spiffs: set VFS params --- pkg/spiffs/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/spiffs/Makefile.include b/pkg/spiffs/Makefile.include index 4e77c3a5e2..6d3c0b57b6 100644 --- a/pkg/spiffs/Makefile.include +++ b/pkg/spiffs/Makefile.include @@ -4,3 +4,6 @@ INCLUDES += -I$(PKGDIRBASE)/spiffs/src/ ifneq (,$(filter spiffs_fs,$(USEMODULE))) DIRS += $(RIOTBASE)/pkg/spiffs/fs endif + +SPIFFS_NB_FD ?= 8 +CFLAGS += '-DSPIFFS_FS_FD_SPACE_SIZE=(32 * $(SPIFFS_NB_FD))'