Skip to content

Latest commit

 

History

History
418 lines (351 loc) · 73.5 KB

File metadata and controls

418 lines (351 loc) · 73.5 KB

Memory requirements

This page provides information about the amount of flash memory and RAM that is required by the :ref:`zigbee_samples`, as well as stack memory requirements for main and zboss threads. Use it to check if your application has enough space for a given configuration. Values are provided for :ref:`ZBOSS libraries <zigbee_zboss>`.

Samples were built using the available :ref:`zigbee_zboss`. Unless stated otherwise, the default :file:`prj.conf` was used.

The :ref:`zigbee_samples` define flash partitions in Devicetree (DTS). The |addon| ships ready-made partition files under :file:`dts/` in the |addon| repository. Use them as-is, or copy and adjust them for your board.

Each layout starts with a base :file:`.dtsi` file for your SoC. If you need MCUboot, FOTA, or Matter coexistence, include a matching overlay :file:`.overlay` below the base file. Some overlays apply to any board with a given SoC; others apply only to a specific development kit (DK).

Every base layout reserves the end of internal flash for:

  • storage_partition - Zephyr settings storage
  • zboss_nvram - ZBOSS non-volatile data
  • zboss-product-config - ZBOSS product configuration

The table below lists the available files, which targets they cover, and when to use each variant.

DTS partition layout variants
Variant Path Targets When to use
Base :file:`dts/<soc>_partitions.dtsi`
nRF52833 (SoC)
nRF52840 (SoC)
nRF52840 Dongle (DK only)
nRF5340 application and network cores (SoC)
nRF54L05 (SoC)
nRF54L10 (SoC)
nRF54L15 (SoC)
nRF54LM20 (SoC)
Required starting point for any Zigbee application.
MCUboot (USB transport) :file:`dts/overlays/mcuboot_usb_transport/<soc>_partitions.overlay`
nRF52833 (SoC)
nRF52840 (SoC)
nRF5340 application core (SoC)
nRF54L05 (SoC)
nRF54L10 (SoC)
nRF54L15 (SoC)
nRF54LM20 (SoC)
Adds boot_partition (MCUboot) and resizes slot0_partition to fit. Use with sysbuild when the bootloader is updated over USB.
Matter and Zigbee coexistence :file:`dts/overlays/matter/<board>_partitions.overlay` nRF54LM20 DK (DK only) Adds boot_partition, slot1_partition, and factory_data_partition, and resizes slot0_partition. Use when Matter and Zigbee share the same device.
External flash (FOTA) :file:`dts/overlays/ext_flash/<board>_partitions.overlay`
nRF52833 DK (DK only)
nRF52840 DK (DK only)
nRF5340 DK (DK only)
nRF54L10 DK (DK only)
nRF54L15 DK (DK only)
nRF54LM20 DK (DK only)
Keeps the primary image on internal flash and places the secondary upgrade slot (slot1_partition) on external flash. On nRF5340, external flash can also hold image-3. Reference layout for :ref:`lib_zigbee_fota` over external flash.

To add an overlay file to your application, add an #include line to :file:`app.overlay` or to a board overlay in :file:`boards/`. Always include the base :file:`.dtsi` first, then any optional overlay.

Example for the nRF54LM20 DK with external-flash FOTA in :file:`boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay`:

#include <nrf54lm20_cpuapp_partitions.dtsi>
#include <overlays/ext_flash/nrf54lm20dk_cpuapp_partitions.overlay>

RAM and flash memory requirement values differ depending on the programmed sample.

The following tables list memory requirement values for Zigbee samples.

Values are provided in kilobytes (KB). n/a indicates that the sample with the given variant is not supported on the DK.

.. tabs::

   .. group-tab:: nRF52833

      The following table lists memory requirements for samples running on the `nRF52833 DK <Board support_>`_ (`nrf52833dk`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus` and :ref:`lib_zigbee_fota` | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 392                      | 0                         | 16                               | 4                           | 412         | 86                       | 86          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | 409                      | 64                        | 16                               | 4                           | 493         | 95                       | 95          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF52840

      The following table lists memory requirements for samples running on the `nRF52840 DK <Board support_>`_ (`nrf52840dk`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | 409                      | 0                         | 32                               | 4                           | 445         | 84                       | 84          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | 433                      | 0                         | 32                               | 4                           | 469         | 64                       | 64          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | 340                      | 0                         | 32                               | 4                           | 376         | 54                       | 54          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | 355                      | 48                        | 32                               | 4                           | 439         | 62                       | 62          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | 453                      | 0                         | 32                               | 4                           | 489         | 70                       | 70          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus` and :ref:`lib_zigbee_fota` | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 433                      | 0                         | 32                               | 4                           | 469         | 91                       | 91          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | 450                      | 64                        | 32                               | 4                           | 550         | 100                      | 100         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | 408                      | 0                         | 32                               | 4                           | 444         | 74                       | 74          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | 488                      | 0                         | 32                               | 4                           | 524         | 91                       | 91          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | 506                      | 0                         | 32                               | 4                           | 542         | 100                      | 100         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF52840 Dongle

      The following table lists memory requirements for samples running on the `nRF52840 Dongle DK <Board support_>`_  (`nrf52840dongle`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus` and :ref:`lib_zigbee_fota` | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | 445                      | 4                         | 32                               | 4                           | 485         | 99                       | 99          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | 500                      | 4                         | 32                               | 4                           | 540         | 98                       | 98          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF5340

      The following table lists memory requirements for samples running on the `nRF5340 DK <Board support_>`_ (`nrf5340dk`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | 361                      | 0                         | 32                               | 4                           | 397         | 90                       | 90          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | 384                      | 0                         | 32                               | 4                           | 420         | 70                       | 70          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | 291                      | 0                         | 32                               | 4                           | 327         | 60                       | 60          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | 307                      | 64                        | 32                               | 4                           | 407         | 74                       | 74          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | 355                      | 0                         | 32                               | 4                           | 391         | 76                       | 76          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus` and :ref:`lib_zigbee_fota` | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 384                      | 0                         | 32                               | 4                           | 420         | 97                       | 97          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | 401                      | 64                        | 32                               | 4                           | 501         | 106                      | 106         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | 359                      | 0                         | 32                               | 4                           | 395         | 79                       | 79          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | 440                      | 0                         | 32                               | 4                           | 476         | 96                       | 96          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | 458                      | 0                         | 32                               | 4                           | 494         | 105                      | 105         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF54L05

      The following table lists memory requirements for samples running on the `nRF54L05 emulation on the nRF54L15 DK <Board support_>`_ (`nrf54l15dk`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 410                      | 0                         | 32                               | 4                           | 446         | 87                       | 87          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF54L10

      The following table lists memory requirements for samples running on the `nRF54L10 emulation on the nRF54L15 DK <Board support_>`_ (`nrf54l15dk`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | 387                      | 0                         | 32                               | 4                           | 423         | 80                       | 80          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | 411                      | 0                         | 32                               | 4                           | 447         | 60                       | 60          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | 317                      | 0                         | 32                               | 4                           | 353         | 50                       | 50          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | 333                      | 66                        | 32                               | 4                           | 435         | 58                       | 58          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | 444                      | 0                         | 32                               | 4                           | 480         | 67                       | 67          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 410                      | 0                         | 32                               | 4                           | 446         | 87                       | 87          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | 386                      | 0                         | 32                               | 4                           | 422         | 70                       | 70          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | 465                      | 0                         | 32                               | 4                           | 501         | 86                       | 86          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF54L15

      The following table lists memory requirements for samples running on the `nRF54L15 DK <Board support_>`_ (`nrf54l15dk`_).

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | 387                      | 0                         | 32                               | 4                           | 423         | 80                       | 80          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | 411                      | 0                         | 32                               | 4                           | 447         | 60                       | 60          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | 317                      | 0                         | 32                               | 4                           | 353         | 50                       | 50          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | 333                      | 66                        | 32                               | 4                           | 435         | 58                       | 58          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | 444                      | 0                         | 32                               | 4                           | 480         | 67                       | 67          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 410                      | 0                         | 32                               | 4                           | 446         | 87                       | 87          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | 386                      | 0                         | 32                               | 4                           | 422         | 70                       | 70          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | 465                      | 0                         | 32                               | 4                           | 501         | 86                       | 86          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+

   .. group-tab:: nRF54LM20

      The following table lists memory requirements for samples running on the `nRF54LM20 DK <Board support_>`_ (`nrf54lm20dk`_) with the ``nrf54lm20dk/nrf54lm20a/cpuapp`` or ``nrf54lm20dk/nrf54lm20b/cpuapp`` board targets.

      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | Sample                                                                                                                 | ROM, ZBOSS stack + App   | ROM, MCUboot bootloader   | ROM, ZBOSS non-volatile memory   | ROM, ZBOSS product config   | Total ROM   | RAM, ZBOSS stack + App   | Total RAM   |
      +========================================================================================================================+==========================+===========================+==================================+=============================+=============+==========================+=============+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>`                                                         | 387                      | 0                         | 32                               | 4                           | 423         | 74                       | 74          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                                                                           | 413                      | 0                         | 32                               | 4                           | 449         | 64                       | 64          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>` with :ref:`zigbee_light_bulb_sample_matter` (debug)                       | 1070                     | 42                        | 32                               | 4                           | 1148        | 228                      | 228         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>` with :ref:`zigbee_light_bulb_sample_matter` (release)                     | 979                      | 42                        | 32                               | 4                           | 1057        | 228                      | 228         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`                                                                       | 315                      | 0                         | 32                               | 4                           | 351         | 44                       | 44          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`lib_zigbee_fota`                                           | 338                      | 58                        | 32                               | 4                           | 432         | 47                       | 47          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus`                            | 425                      | 0                         | 32                               | 4                           | 461         | 60                       | 60          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_nus` and :ref:`lib_zigbee_fota` | n/a                      | n/a                       | n/a                              | n/a                         | n/a         | n/a                      | n/a         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_matter` (debug)                 | 940                      | 42                        | 32                               | 4                           | 1018        | 201                      | 201         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Light switch <zigbee_light_switch_sample>` with :ref:`zigbee_light_switch_sample_matter` (release)               | 849                      | 42                        | 32                               | 4                           | 927         | 201                      | 201         |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP <zigbee_ncp_sample>`                                                                                         | 410                      | 0                         | 32                               | 4                           | 446         | 81                       | 81          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`NCP with USB transport <zigbee_ncp_sample>`                                                                      | 444                      | 66                        | 32                               | 4                           | 546         | 91                       | 91          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee application template <zigbee_template_sample>`                                                            | 385                      | 0                         | 32                               | 4                           | 421         | 63                       | 63          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell <zigbee_shell_sample>`                                                                              | 470                      | 0                         | 32                               | 4                           | 506         | 80                       | 80          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+
      | :ref:`Zigbee shell over USB <zigbee_shell_sample>`                                                                     | 512                      | 0                         | 32                               | 4                           | 548         | 91                       | 91          |
      +------------------------------------------------------------------------------------------------------------------------+--------------------------+---------------------------+----------------------------------+-----------------------------+-------------+--------------------------+-------------+


The following table lists stack memory requirement values for main and zboss threads. These measurements were carried out with Zephyr's `Thread analyzer`_, using the following Kconfig options for configuration:

  • For the stack memory size of the main thread - CONFIG_MAIN_STACK_SIZE
  • For the stack memory size of the zboss thread - CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE

Values are provided in bytes (B).

.. tabs::

   .. group-tab:: nRF52840

      The following table lists memory requirements for the `nRF52840 <Developing with nRF52 Series_>`_ device.

      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | Sample                                                         | ``main`` thread stack usage   | ``main`` thread stack size   | ``zboss`` thread stack usage   | ``zboss`` thread stack size   |
      +================================================================+===============================+==============================+================================+===============================+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>` | 656                           | 2048                         | 3032                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                   | 664                           | 2048                         | 3036                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`               | 728                           | 2048                         | 3008                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+

   .. group-tab:: nRF5340

      The following table lists memory requirements for the `nRF5340 <Developing with nRF53 Series_>`_ device.

      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | Sample                                                         | ``main`` thread stack usage   | ``main`` thread stack size   | ``zboss`` thread stack usage   | ``zboss`` thread stack size   |
      +================================================================+===============================+==============================+================================+===============================+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>` | 756                           | 2048                         | 1376                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                   | 756                           | 2048                         | 1376                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`               | 760                           | 2048                         | 1376                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+

   .. group-tab:: nRF54L Series

      The following table lists memory requirements for the `nRF54L Series <Developing with nRF54L Series_>`_ devices.

      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | Sample                                                         | ``main`` thread stack usage   | ``main`` thread stack size   | ``zboss`` thread stack usage   | ``zboss`` thread stack size   |
      +================================================================+===============================+==============================+================================+===============================+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>` | 840                           | 2048                         | 2312                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                   | 840                           | 2048                         | 2112                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`               | 912                           | 2048                         | 2128                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+

   .. group-tab:: nRF54LM20

      The following table lists stack usage for samples running on the `nRF54LM20 DK <Board support_>`_ with the ``nrf54lm20dk/nrf54lm20a/cpuapp`` or ``nrf54lm20dk/nrf54lm20b/cpuapp`` board target.

      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | Sample                                                         | ``main`` thread stack usage   | ``main`` thread stack size   | ``zboss`` thread stack usage   | ``zboss`` thread stack size   |
      +================================================================+===============================+==============================+================================+===============================+
      | :ref:`Network coordinator <zigbee_network_coordinator_sample>` | 832                           | 2048                         | 2288                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light bulb <zigbee_light_bulb_sample>`                   | 912                           | 2048                         | 2104                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+
      | :ref:`Light switch <zigbee_light_switch_sample>`               | 984                           | 2048                         | 2104                           | 5120                          |
      +----------------------------------------------------------------+-------------------------------+------------------------------+--------------------------------+-------------------------------+