CONFIG_NRF_RPC_CMD_CTX_POOL_SIZE

Number of available context structures for commands

Type: int

Help

nRF RPC need to store some data to handle commands. Pool of contexts
is created to avoid dynamic memory allocation. Setting this value too
low will cause unnecessary waits for available context. Minimum value
that is ensured to work without waiting is the sum of the number of
threads in both local and remote pool.

Direct dependencies

NRF_RPC

(Includes any dependencies from ifs and menus.)

Default

  • 8

Kconfig definition

At <nrfxlib>/nrf_rpc/Kconfig:46

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:86<nrfxlib>/Kconfig.nrfxlib:15

Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → nRF RPC (Remote Procedure Call) library

config NRF_RPC_CMD_CTX_POOL_SIZE
    int "Number of available context structures for commands"
    range 2 32
    default 8
    depends on NRF_RPC
    help
      nRF RPC need to store some data to handle commands. Pool of contexts
      is created to avoid dynamic memory allocation. Setting this value too
      low will cause unnecessary waits for available context. Minimum value
      that is ensured to work without waiting is the sum of the number of
      threads in both local and remote pool.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)