Skip to content

Commit

Permalink
tests/vfs_default: increase stack size for AVR
Browse files Browse the repository at this point in the history
This avoids an stack overflow when using `vfs ls`.
  • Loading branch information
maribu committed Sep 9, 2022
1 parent b3b5612 commit 494f5d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/vfs_default/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ USEMODULE += vfs_default
USEMODULE += vfs_auto_format

USEMODULE += shell
USEMODULE += ps
USEMODULE += shell_commands

include $(RIOTBASE)/Makefile.include

ifneq (,$(filter avr8_common,$(USEMODULE)))
# the main thread stack on AVR is too small for the vfs shell command
CFLAGS += -DTHREAD_STACKSIZE_MAIN=THREAD_STACKSIZE_LARGE
endif

0 comments on commit 494f5d6

Please sign in to comment.