2018-02-14 15:07:35 +01:00
|
|
|
# name of your application
|
|
|
|
APPLICATION = filesystem
|
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= native
|
|
|
|
|
2018-08-17 11:08:15 +02:00
|
|
|
|
2018-02-14 17:09:11 +01:00
|
|
|
# Blacklisting msp430-based boards, as file syscalls are not supported
|
2019-10-11 14:33:54 +02:00
|
|
|
FEATURES_BLACKLIST += arch_msp430
|
2018-02-14 17:09:11 +01:00
|
|
|
|
2018-02-14 15:07:35 +01:00
|
|
|
# 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
|
2022-08-16 16:35:20 +02:00
|
|
|
USEMODULE += shell_cmds_default
|
2018-02-14 15:07:35 +01:00
|
|
|
USEMODULE += ps
|
|
|
|
|
2022-08-21 22:52:17 +02:00
|
|
|
# Use the default file system
|
|
|
|
USEMODULE += vfs_default
|
2018-02-14 15:07:35 +01:00
|
|
|
USEMODULE += constfs
|
|
|
|
# USEMODULE += devfs
|
|
|
|
|
2022-08-21 22:52:17 +02:00
|
|
|
# Enable to automatically format if mount fails
|
|
|
|
#USEMODULE += vfs_auto_format
|
|
|
|
|
2024-02-28 14:37:50 +01:00
|
|
|
# For LittleFS on real devices, the main stack size has to be
|
|
|
|
# increased:
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2048
|
|
|
|
|
2018-02-14 15:07:35 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|