tests/pkg_utensor: increase stacksize with LLVM build on ARM

This commit is contained in:
Alexandre Abadie 2020-09-25 12:51:18 +02:00
parent f69d6d042e
commit b36278f18d
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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