1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 08:51:19 +01:00

Merge pull request #20217 from maribu/examples/dtls-sock/credman-capacity

examples/dtls-sock: fix credman capacity
This commit is contained in:
Marian Buschsieweke 2024-02-15 11:35:56 +00:00 committed by GitHub
commit a378c0b81f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,3 +61,8 @@ ifeq (,$(filter arch_avr8,$(FEATURES_USED)))
else
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_LARGE\)
endif
# We have two credentials for client and server, each. If we are to run both
# server and client, we need four slots in total. The default (2) would be
# sufficient if only client or server is ever run.
CFLAGS += -DCONFIG_CREDMAN_MAX_CREDENTIALS=4