Skip to content

Commit 0987a50

Browse files
LuDudakkasperczyk-no
authored andcommitted
[nrf noup] Increase default number of packet buffers and stack size
This commit reverts the previous optimization of reducing the number of packet buffers in the system. Additionally increase of stack size is needed to accomodate CC3xx backend. Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>
1 parent 7825073 commit 0987a50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform/nrfconnect/CHIPDevicePlatformConfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216

217217
#ifndef CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE
218218
#if defined(CONFIG_LTO) || (defined(CONFIG_PSA_CRYPTO_DRIVER_CC3XX) && defined(CONFIG_PSA_CRYPTO_DRIVER_OBERON))
219-
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 8192
219+
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 10240
220220
#else
221221
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 6144
222222
#endif

src/platform/nrfconnect/SystemPlatformConfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct ChipDeviceEvent;
4848
#define CHIP_SYSTEM_CONFIG_USE_SOCKETS 1
4949

5050
#ifndef CONFIG_ARCH_POSIX
51-
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 8
51+
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 15
5252
#endif
5353

5454
// ========== Platform-specific Configuration Overrides =========

0 commit comments

Comments
 (0)