Skip to content

Commit ab6c232

Browse files
committed
pkg/tinydtls: master branch of remote fork is used. Dependencies are moved here
The remote fork of TinyDTLS is now used solely for RIOT instead of Linux and Contiki. Also, all the dependencies that are static for TinyDTLs were moved from the examples/dtls-echo/Makefile to pkg/tinydtls/Makefile.dep .
1 parent 70fbcbf commit ab6c232

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

pkg/tinydtls/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
PKG_NAME=tinydtls
22
PKG_URL=https://github.com/rfuentess/TinyDTLS.git
3-
# PKG_VERSION=RIOT-OS
4-
PKG_VERSION=d06ad84d3e8bd3e86f7557faee34b68d5f8c0129
3+
PKG_VERSION=master
4+
# (Official) Branch with tested(?) updates before merging to remote master
5+
#PKG_VERSION=RIOT-Tested-Upgrades
6+
57
PKG_LICENSE=EPL-1.0,EDL-1.0
68

79
.PHONY: all

pkg/tinydtls/Makefile.dep

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@ ifneq (,$(filter tinydtls,$(USEMODULE)))
66
USEMODULE += tinydtls_aes
77
USEMODULE += tinydtls_ecc
88
USEMODULE += tinydtls_sha2
9+
10+
#TinyDTLs (crypto.c) made use of pthread
11+
ifneq ($(BOARD),native)
12+
USEMODULE += pthread
13+
endif
14+
15+
# NOTE: Those are taken from TinyDTLS. As the original Makefiles are
16+
# overwitten is a good idea to preserve them here.
17+
CFLAGS += -DDTLSv12 -DWITH_SHA256
918
endif

0 commit comments

Comments
 (0)