1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/native: allow to overwrite default fs

This commit is contained in:
Benjamin Valentin 2022-05-08 23:21:37 +02:00
parent 7b827f405c
commit 5b4c7cbf1e

View File

@ -12,9 +12,11 @@ ifneq (,$(filter periph_can,$(FEATURES_USED)))
USEPKG += libsocketcan
endif
# default to using littlefs2 on the virtual flash
# default to using littlefs2 on the virtual flash if no other fs was selected
ifneq (,$(filter vfs_default,$(USEMODULE)))
USEPKG += littlefs2
ifeq (,$(filter spiffs littlefs fatfs_vfs,$(USEMODULE)))
USEMODULE += littlefs2
endif
USEMODULE += mtd
endif