Skip to content

Commit

Permalink
[nrf noup] Increase default number of packet buffers and stack size
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
LuDuda authored and kkasperczyk-no committed Apr 12, 2024
1 parent 7825073 commit 0987a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/nrfconnect/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@

#ifndef CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE
#if defined(CONFIG_LTO) || (defined(CONFIG_PSA_CRYPTO_DRIVER_CC3XX) && defined(CONFIG_PSA_CRYPTO_DRIVER_OBERON))
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 8192
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 10240
#else
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 6144
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nrfconnect/SystemPlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct ChipDeviceEvent;
#define CHIP_SYSTEM_CONFIG_USE_SOCKETS 1

#ifndef CONFIG_ARCH_POSIX
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 8
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 15
#endif

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

0 comments on commit 0987a50

Please sign in to comment.