2018-10-17 21:02:28 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
# HACL* only compiles on 32bit platforms
|
2019-05-24 17:33:15 +02:00
|
|
|
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \
|
2019-10-18 13:56:53 +02:00
|
|
|
arduino-mega2560 arduino-nano arduino-uno \
|
|
|
|
atmega328p chronos mega-xplained microduino-corerf \
|
2019-03-14 13:07:51 +01:00
|
|
|
msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \
|
|
|
|
wsn430-v1_4 z1
|
2018-10-17 21:02:28 +02:00
|
|
|
|
|
|
|
TEST_ON_CI_WHITELIST += native
|
|
|
|
|
|
|
|
|
|
|
|
USEPKG += libcose
|
2019-08-12 14:30:53 +02:00
|
|
|
# By default we use hacl as crypto backend, uncomment to use a different
|
|
|
|
# crypto backend.
|
2018-10-17 21:02:28 +02:00
|
|
|
USEMODULE += libcose_crypt_hacl
|
2019-08-12 14:30:53 +02:00
|
|
|
# USEMODULE += libcose_crypt_c25519
|
|
|
|
# USEMODULE += libcose_crypt_monocypher
|
2018-10-17 21:02:28 +02:00
|
|
|
USEMODULE += memarray
|
|
|
|
USEMODULE += embunit
|
|
|
|
|
2019-08-12 14:30:53 +02:00
|
|
|
ifneq (,$(filter libcose_crypt_monocypher,$(USEMODULE)))
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(6*THREAD_STACKSIZE_DEFAULT\)
|
|
|
|
else
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT\)
|
|
|
|
endif
|
|
|
|
|
2018-10-17 21:02:28 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|