1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pthread_cooperation/Makefile
Benjamin Valentin b5906c2aa4 tests/pthread*: blacklist boards with low RAM
The pthread tests dynamically allocate memory for the thread stacks.
Therefore while compilation succeeds, they will fail to run on these
low memory boards.

Static allocation of thread stacks is an option to make those tests work
for those boards (confirmed for `tests/pthread`), but it would
change the nature of the tests.
2019-10-21 15:33:48 +02:00

18 lines
532 B
Makefile

include ../Makefile.tests_common
# 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
# The test compiles, but these boards have too little RAM for
# dynamic allocation of thread stacks
BOARD_BLACKLIST := arduino-nano arduino-duemilanove \
arduino-uno nucleo-f031k6 stm32f030f4-demo
USEMODULE += posix_headers
USEMODULE += pthread
include $(RIOTBASE)/Makefile.include