1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/filesystem/Makefile
crasbe 4b33e3e273 examples/filesystem: Increase main stack size
The stack size for the main thread is insufficient for some real targets to run this example, which leads to kernel panics in the MEM MANAGE HANDLER when trying to access the Flash
2024-02-29 23:44:17 +01:00

40 lines
998 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_cmds_default
USEMODULE += ps
# Use the default file system
USEMODULE += vfs_default
USEMODULE += constfs
# USEMODULE += devfs
# Enable to automatically format if mount fails
#USEMODULE += vfs_auto_format
# For LittleFS on real devices, the main stack size has to be
# increased:
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2048
include $(RIOTBASE)/Makefile.include