diff --git a/tests/pkg_utensor/Makefile b/tests/pkg_utensor/Makefile index 5b11b80918..b5b6d8e691 100644 --- a/tests/pkg_utensor/Makefile +++ b/tests/pkg_utensor/Makefile @@ -10,3 +10,11 @@ USEMODULE += models EXTERNAL_MODULE_DIRS += $(CURDIR)/models 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