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:
parent
8c6926d0ef
commit
4a0c5e687f
@ -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
|
||||
|
@ -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
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user