From e05af0d2ce839f919fb67eb3be953048bbac7ed2 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Mon, 1 May 2023 15:43:45 +0000 Subject: [PATCH] coap_config.h.contiki: Increase heap memory size --- coap_config.h.contiki | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/coap_config.h.contiki b/coap_config.h.contiki index 02587d6d..334d430f 100644 --- a/coap_config.h.contiki +++ b/coap_config.h.contiki @@ -1,6 +1,12 @@ #ifndef COAP_CONFIG_H_ #define COAP_CONFIG_H_ +/* Define to 1 if libcoap supports client mode code */ +#define COAP_CLIENT_SUPPORT 1 + +/* Define to 1 if libcoap supports server mode code */ +#define COAP_SERVER_SUPPORT 1 + /* Define if the system has small stack size */ #define COAP_CONSTRAINED_STACK 1 @@ -74,7 +80,7 @@ #define HASH_NONFATAL_OOM 1 #ifndef HEAPMEM_CONF_ARENA_SIZE -#define HEAPMEM_CONF_ARENA_SIZE 4096 +#define HEAPMEM_CONF_ARENA_SIZE 6144 #endif #endif /* COAP_CONFIG_H_ */