2018-06-21 11:23:48 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
USEMODULE += embunit
|
|
|
|
USEMODULE += random
|
|
|
|
USEPKG += c25519
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
|
|
|
|
# c25519 takes up to 1.5K in stack, almost independent of the platform
|
2020-06-10 13:11:32 +02:00
|
|
|
ifneq (,$(filter cortex-%,$(CPU_CORE)))
|
2018-06-21 11:23:48 +02:00
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)
|
|
|
|
else
|
2020-07-28 21:18:00 +02:00
|
|
|
ifneq (,$(filter atmega_common msp430_common,$(USEMODULE)))
|
2018-06-21 11:23:48 +02:00
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(5*THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)
|
|
|
|
else
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(3*THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)
|
|
|
|
endif
|
|
|
|
endif
|