mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/net/nanocoap: configure DTLS buffer
This commit is contained in:
parent
252ec91782
commit
91001468f9
@ -188,3 +188,7 @@ endif
|
||||
ifneq (,$(filter gcoap,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/net/application_layer/gcoap/Makefile.include
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nanocoap,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/net/application_layer/nanocoap/Makefile.include
|
||||
endif
|
||||
|
4
sys/net/application_layer/nanocoap/Makefile.include
Normal file
4
sys/net/application_layer/nanocoap/Makefile.include
Normal file
@ -0,0 +1,4 @@
|
||||
ifneq (,$(filter nanocoap_dtls,$(USEMODULE)))
|
||||
CONFIG_NANOCOAP_BLOCKSIZE_DEFAULT := $(or $(CONFIG_NANOCOAP_BLOCKSIZE_DEFAULT),2)
|
||||
DTLS_MAX_BUF ?= ((1 << ($(CONFIG_NANOCOAP_BLOCKSIZE_DEFAULT) + 3)) + 36)
|
||||
endif
|
Loading…
Reference in New Issue
Block a user