Skip to content

Commit

Permalink
tests/pkg_utensor: increase main threads stack size
Browse files Browse the repository at this point in the history
The MPU based stack guard is very unpleased by the stack overflow
happening during the test. The increase in stack size makes the MPU
stack guard happy again.
  • Loading branch information
maribu committed Nov 22, 2022
1 parent 54b0100 commit 22f882d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/pkg_utensor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@ EXTERNAL_MODULE_DIRS += external_modules

include $(RIOTBASE)/Makefile.include

# The application requires a little more stacksize on ARM when building with
# LLVM
ifneq (,$(filter arch_arm,$(FEATURES_USED)))
ifeq (llvm,$(TOOLCHAIN))
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2048
endif
endif
CFLAGS += -DTHREAD_STACKSIZE_MAIN=THREAD_STACKSIZE_LARGE

0 comments on commit 22f882d

Please sign in to comment.