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

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
This commit is contained in:
crasbe 2024-02-28 14:37:50 +01:00 committed by crasbe
parent 9fa92da6ea
commit 4b33e3e273

View File

@ -32,4 +32,8 @@ USEMODULE += constfs
# 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