From 45b3baf040e9857065cf1148d266f049ad3aecde Mon Sep 17 00:00:00 2001 From: Simon Lin Date: Fri, 30 Aug 2019 23:59:28 +0800 Subject: [PATCH] [heap] increase default internal heap size for DTLS (#4130) Test Case 8.1.1 on cc2538 OT TB has a fail probability of 19% due to DTLS handshake failure. This commit fixes this issue by increasing heap size by 128B (6144B -> 6272B), resulting in 100% Pass. --- src/core/config/openthread-core-default-config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/config/openthread-core-default-config.h b/src/core/config/openthread-core-default-config.h index 75c76a2d5..25053c649 100644 --- a/src/core/config/openthread-core-default-config.h +++ b/src/core/config/openthread-core-default-config.h @@ -270,7 +270,7 @@ #if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE #define OPENTHREAD_CONFIG_HEAP_INTERNAL_SIZE (3072 * sizeof(void *)) #else -#define OPENTHREAD_CONFIG_HEAP_INTERNAL_SIZE (1536 * sizeof(void *)) +#define OPENTHREAD_CONFIG_HEAP_INTERNAL_SIZE (1568 * sizeof(void *)) #endif #endif