From b36278f18daca6b8fc1cbe4c3d803debc18b80b4 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 25 Sep 2020 12:51:18 +0200 Subject: [PATCH] tests/pkg_utensor: increase stacksize with LLVM build on ARM --- tests/pkg_utensor/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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