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
Francisco Molina ce300ca6fd tests: fix tests for nucleo-f303k8
- Decrease default stack size for pthread_cooperation and
  cp11_condition_variable
- Reduce number of problems for thread cooperation and remove
  from insufficient memory list
2019-09-20 17:01:08 +02:00

34 lines
762 B
Makefile

include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := \
arduino-duemilanove \
arduino-nano \
arduino-uno \
nucleo-f031k6 \
hifive1 \
hifive1b \
i-nucleo-lrwan1 \
stm32l0538-disco \
#
# The test reboots on 'arduino-mega2560' because it mallocs too much memory.
# So I disabled all the other avr boards. Re-enable after success test.
BOARD_INSUFFICIENT_MEMORY += \
arduino-leonardo \
arduino-mega2560 \
jiminy-mega256rfr2 \
mega-xplained \
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
include $(RIOTBASE)/Makefile.include