Skip to content

Commit

Permalink
doc: matter: add section on packet buffer pool size configuration
Browse files Browse the repository at this point in the history
Mention `CONFIG_CHIP_SYSTEM_PACKETBUFFER_POOL_SIZE` Kconfig option.

Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Nov 19, 2024
1 parent ad85b7a commit 68fbb87
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,13 @@ To use a dynamic heap size on your Matter device, set them both to ``n``.
The static heap size means that you can define the maximum heap size for your application by setting the :kconfig:option:`CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE` Kconfig value.
You can also adjust the heap dedicated for MbedTLS purposes by setting the :kconfig:option:`CONFIG_MBEDTLS_HEAP_SIZE` Kconfig option value.

Packet Buffer Pool Size
-----------------------

The Matter application uses a fixed size pool for packet buffer memory management.
The pool size is determined by the :kconfig:option:`CONFIG_CHIP_SYSTEM_PACKETBUFFER_POOL_SIZE` Kconfig option.
You can adjust the pool size to reduce the memory usage of your application, however that may have a negative effect on the performance of the application.

.. note::
The Thread protocol has a separate configuration for memory allocation.
See :ref:`thread_configuring_messagepool` in the Thread documentation for more information.
Expand Down

0 comments on commit 68fbb87

Please sign in to comment.