1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/tinydtls: allow build for AVR

This commit is contained in:
Benjamin Valentin 2023-03-04 22:48:07 +01:00
parent 8c6926d0ef
commit 4a0c5e687f
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,10 @@ PKG_LICENSE=EPL-1.0,EDL-1.0
include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-implicit-fallthrough
# tinyDTLS custom logging functions pass non-literals to printf(), so disable them
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
CFLAGS += -DNDEBUG
endif
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(PKG_SOURCE_DIR)/Makefile.riot

View File

@ -7,9 +7,6 @@ USEMODULE += tinydtls_aes
USEMODULE += tinydtls_ecc
USEMODULE += ztimer64_msec
# TinyDTLS only has support for 32-bit architectures ATM
FEATURES_REQUIRED += arch_32bit
ifneq (,$(filter sock_dtls,$(USEMODULE)))
USEMODULE += tinydtls_sock_dtls
USEMODULE += ztimer_usec