1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/filesystem/Makefile
Benjamin Valentin 412f4e5234 examples/filesystem: default to littlefs2
The upstream version of littlefs is what we call littlefs2.
'littlefs' is kept for legacy compatibility, but is not actively
developed upstream.

So make littlefs2 the default for the filesystem example.
2020-07-17 16:43:00 +02:00

43 lines
955 B
Makefile

# name of your application
APPLICATION = filesystem
# If no BOARD is found in the environment, use this default:
BOARD ?= native
# Blacklisting msp430-based boards, as file syscalls are not supported
FEATURES_BLACKLIST += arch_msp430
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
DEVELHELP ?= 1
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1
# Modules to include:
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += ps
# Use MTD (flash layer)
USEMODULE += mtd
# USEMODULE += mtd_sdcard
# Use VFS
USEMODULE += vfs
# Use a file system
# USEMODULE += littlefs
USEMODULE += littlefs2
# USEMODULE += spiffs
# USEMODULE += fatfs_vfs
USEMODULE += constfs
# USEMODULE += devfs
include $(RIOTBASE)/Makefile.include