Merge pull request #15089 from aabadie/pr/tests/pkg_utensor_stacksize

tests/pkg_utensor: increase stacksize with LLVM build on ARM
This commit is contained in:
benpicco 2020-09-25 20:22:30 +02:00 committed by GitHub
commit 70a014fc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,3 +10,11 @@ USEMODULE += models
EXTERNAL_MODULE_DIRS += $(CURDIR)/models EXTERNAL_MODULE_DIRS += $(CURDIR)/models
include $(RIOTBASE)/Makefile.include 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