diff --git a/tests/cpp11_condition_variable/Makefile b/tests/cpp11_condition_variable/Makefile index 2d3bd7022d..568b8b8712 100644 --- a/tests/cpp11_condition_variable/Makefile +++ b/tests/cpp11_condition_variable/Makefile @@ -13,6 +13,12 @@ BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core \ # to CXXEXFLAGS variable CXXEXFLAGS += -std=c++11 +# nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack +# size for every thread +ifneq (,$(filter nucleo-f303k8,$(BOARD))) + CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512 +endif + USEMODULE += cpp11-compat USEMODULE += xtimer USEMODULE += timex diff --git a/tests/pthread_cooperation/Makefile b/tests/pthread_cooperation/Makefile index 3cd83bd7e1..e57db008d8 100644 --- a/tests/pthread_cooperation/Makefile +++ b/tests/pthread_cooperation/Makefile @@ -21,6 +21,12 @@ BOARD_INSUFFICIENT_MEMORY += \ waspmote-pro \ # +# nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack +# size for every thread +ifneq (,$(filter nucleo-f303k8,$(BOARD))) + CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512 +endif + USEMODULE += posix_headers USEMODULE += pthread diff --git a/tests/thread_cooperation/Makefile b/tests/thread_cooperation/Makefile index 1706c9de1c..8a29907bc9 100644 --- a/tests/thread_cooperation/Makefile +++ b/tests/thread_cooperation/Makefile @@ -2,7 +2,7 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ arduino-uno chronos i-nucleo-lrwan1 msb-430 \ - msb-430h nucleo-f031k6 nucleo-f303k8 stm32l0538-disco + msb-430h nucleo-f031k6 stm32l0538-disco DISABLE_MODULE += auto_init @@ -12,6 +12,9 @@ endif ifneq (,$(filter nucleo-f030r8 nucleo-l031k6 nucleo-l053r8 stm32f0discovery stm32l0538-disco,$(BOARD))) PROBLEM ?= 5 endif +ifneq (,$(filter nucleo-f303k8,$(BOARD))) + PROBLEM ?= 7 +endif ifneq (,$(filter nucleo-f334r8,$(BOARD))) PROBLEM ?= 9 endif