1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

tinydtls: Reduce default verbosity

This commit is contained in:
chrysn 2023-03-02 09:16:09 +01:00
parent 5d741b9d41
commit f7a83a7edc

View File

@ -33,3 +33,8 @@ ifneq (,$(filter gcoap,$(USEMODULE)))
# default configuration; adding some to be safe against variable size fields.
CFLAGS += "-DDTLS_MAX_BUF=($(CONFIG_GCOAP_PDU_BUF_SIZE) + 36)"
endif
# TinyDTLS emits several messages during connection establishment at the info
# level; this is way more verbose than common in RIOT.
TINYDTLS_LOG_LEVEL ?= LOG_WARNING
CFLAGS += -DLOG_LEVEL=$(TINYDTLS_LOG_LEVEL)