2017-01-20 15:46:53 +01:00
|
|
|
include ../Makefile.tests_common
|
2015-03-03 19:34:12 +01:00
|
|
|
|
|
|
|
# If you want to add some extra flags when compile c++ files, add these flags
|
|
|
|
# to CXXEXFLAGS variable
|
2015-05-29 02:48:12 +02:00
|
|
|
CXXEXFLAGS += -std=c++11
|
2015-03-03 19:34:12 +01:00
|
|
|
|
2019-08-06 10:32:35 +02:00
|
|
|
# nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack
|
|
|
|
# size for every thread
|
2021-01-19 13:57:37 +01:00
|
|
|
ifneq (,$(filter nucleo-f303k8 nucleo-f334r8,$(BOARD)))
|
2019-08-06 10:32:35 +02:00
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
|
|
|
|
endif
|
|
|
|
|
2015-03-03 19:34:12 +01:00
|
|
|
USEMODULE += cpp11-compat
|
2015-11-11 13:02:04 +01:00
|
|
|
USEMODULE += xtimer
|
2015-03-03 19:34:12 +01:00
|
|
|
USEMODULE += timex
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|