2019-11-18 08:55:32 +01:00
|
|
|
USEMODULE += tinydtls
|
2016-11-03 16:53:24 +01:00
|
|
|
|
2019-11-18 08:55:32 +01:00
|
|
|
USEMODULE += memarray
|
|
|
|
USEMODULE += hashes
|
2020-07-07 21:03:21 +02:00
|
|
|
USEMODULE += random
|
2019-11-18 08:55:32 +01:00
|
|
|
USEMODULE += tinydtls_aes
|
|
|
|
USEMODULE += tinydtls_ecc
|
2022-01-24 17:55:59 +01:00
|
|
|
USEMODULE += ztimer64_msec
|
2019-10-30 14:11:59 +01:00
|
|
|
|
|
|
|
# TinyDTLS only has support for 32-bit architectures ATM
|
|
|
|
FEATURES_REQUIRED += arch_32bit
|
2020-08-31 15:16:45 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter sock_dtls,$(USEMODULE)))
|
|
|
|
USEMODULE += tinydtls_sock_dtls
|
2022-02-18 13:19:32 +01:00
|
|
|
USEMODULE += ztimer_usec
|
2020-08-31 15:16:45 +02:00
|
|
|
endif
|
2022-03-02 10:00:00 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter newlib_syscalls_default,$(USEMODULE)))
|
|
|
|
USEMODULE += libc_gettimeofday
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter native,$(CPU)))
|
|
|
|
USEMODULE += libc_gettimeofday
|
|
|
|
endif
|