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

Merge pull request #18071 from benpicco/boards/native-weak_vfs_default

boards/native: allow to overwrite default fs
This commit is contained in:
Francisco 2022-05-17 10:41:41 +02:00 committed by GitHub
commit 2e1cd2a517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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