tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo

This commit is contained in:
Benjamin Valentin 2019-10-19 19:24:16 +02:00 committed by Benjamin Valentin
parent 31dbbff450
commit 8f3d1eaf04
5 changed files with 31 additions and 0 deletions

View File

@ -5,4 +5,11 @@ USEMODULE += event
USEMODULE += xtimer
USEMODULE += core_thread_flags
# stm32f030f4-demo doesn't have enough RAM to run the test
# so we reduce the stack size for every thread
ifneq (,$(filter stm32f030f4-demo,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
include $(RIOTBASE)/Makefile.include

View File

@ -4,4 +4,10 @@ FORCE_ASSERTS = 1
USEMODULE += event_callback
USEMODULE += event_timeout
# stm32f030f4-demo doesn't have enough RAM to run the test
# so we reduce the stack size for every thread
ifneq (,$(filter stm32f030f4-demo,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=640
endif
include $(RIOTBASE)/Makefile.include

View File

@ -2,4 +2,10 @@ include ../Makefile.tests_common
DISABLE_MODULE += auto_init
# stm32f030f4-demo doesn't have enough RAM to run the test
# so we reduce the stack size for every thread
ifneq (,$(filter stm32f030f4-demo,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
include $(RIOTBASE)/Makefile.include

View File

@ -2,4 +2,10 @@ include ../Makefile.tests_common
DISABLE_MODULE += auto_init
# stm32f030f4-demo doesn't have enough RAM to run the test
# so we reduce the stack size for every thread
ifneq (,$(filter stm32f030f4-demo,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
include $(RIOTBASE)/Makefile.include

View File

@ -5,4 +5,10 @@ USEMODULE += xtimer
# This test randomly fails on `native` so disable it from CI
TEST_ON_CI_BLACKLIST += native
# stm32f030f4-demo doesn't have enough RAM to run the test
# so we reduce the stack size for every thread
ifneq (,$(filter stm32f030f4-demo,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
include $(RIOTBASE)/Makefile.include