From 6a99148566f4f3e89aa6206a44b651074f6dfb66 Mon Sep 17 00:00:00 2001 From: Timothy Maes Date: Wed, 9 Jun 2021 17:03:41 +0200 Subject: [PATCH] * Limit OpenThread CLI buffers for RAM optimization (#7451) --- examples/platform/qpg6100/project_include/OpenThreadConfig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/platform/qpg6100/project_include/OpenThreadConfig.h b/examples/platform/qpg6100/project_include/OpenThreadConfig.h index 31274a39125b9b..30bcab86e97bf3 100644 --- a/examples/platform/qpg6100/project_include/OpenThreadConfig.h +++ b/examples/platform/qpg6100/project_include/OpenThreadConfig.h @@ -39,6 +39,10 @@ #define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 10 #endif +// Limit CLI buffers +#define OPENTHREAD_CONFIG_CLI_UART_RX_BUFFER_SIZE 384 +#define OPENTHREAD_CONFIG_CLI_UART_TX_BUFFER_SIZE 512 + #define OPENTHREAD_CONFIG_JOINER_ENABLE 1 #define OPENTHREAD_CONFIG_NCP_HDLC_ENABLE 1 #define OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 1