Memory requirements
This page provides information about the amount of flash memory and RAM that is required by the 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 ZBOSS libraries.
Samples were built using the available ZBOSS Zigbee stack.
Unless stated otherwise, the default prj.conf was used.
RAM and flash memory requirements
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.
The following table lists memory requirements for samples running on the nRF52833 DK (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 |
|---|---|---|---|---|---|---|---|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
392 |
0 |
16 |
4 |
412 |
86 |
86 |
|
409 |
64 |
16 |
4 |
493 |
95 |
95 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
The following table lists memory requirements for samples running on the nRF52840 DK (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 |
|---|---|---|---|---|---|---|---|
409 |
0 |
32 |
4 |
445 |
84 |
84 |
|
433 |
0 |
32 |
4 |
469 |
64 |
64 |
|
340 |
0 |
32 |
4 |
376 |
54 |
54 |
|
Light switch with Zigbee FOTA |
355 |
48 |
32 |
4 |
439 |
62 |
62 |
453 |
0 |
32 |
4 |
489 |
70 |
70 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
433 |
0 |
32 |
4 |
469 |
91 |
91 |
|
450 |
64 |
32 |
4 |
550 |
100 |
100 |
|
408 |
0 |
32 |
4 |
444 |
74 |
74 |
|
488 |
0 |
32 |
4 |
524 |
91 |
91 |
|
506 |
0 |
32 |
4 |
542 |
100 |
100 |
The following table lists memory requirements for samples running on the nRF52840 Dongle DK (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 |
|---|---|---|---|---|---|---|---|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
445 |
4 |
32 |
4 |
485 |
99 |
99 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
500 |
4 |
32 |
4 |
540 |
98 |
98 |
The following table lists memory requirements for samples running on the nRF5340 DK (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 |
|---|---|---|---|---|---|---|---|
361 |
0 |
32 |
4 |
397 |
90 |
90 |
|
384 |
0 |
32 |
4 |
420 |
70 |
70 |
|
291 |
0 |
32 |
4 |
327 |
60 |
60 |
|
Light switch with Zigbee FOTA |
307 |
64 |
32 |
4 |
407 |
74 |
74 |
355 |
0 |
32 |
4 |
391 |
76 |
76 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
384 |
0 |
32 |
4 |
420 |
97 |
97 |
|
401 |
64 |
32 |
4 |
501 |
106 |
106 |
|
359 |
0 |
32 |
4 |
395 |
79 |
79 |
|
440 |
0 |
32 |
4 |
476 |
96 |
96 |
|
458 |
0 |
32 |
4 |
494 |
105 |
105 |
The following table lists memory requirements for samples running on the nRF54L05 emulation on the nRF54L15 DK (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 |
|---|---|---|---|---|---|---|---|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
410 |
0 |
32 |
4 |
446 |
87 |
87 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
The following table lists memory requirements for samples running on the nRF54L10 emulation on the nRF54L15 DK (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 |
|---|---|---|---|---|---|---|---|
387 |
0 |
32 |
4 |
423 |
80 |
80 |
|
411 |
0 |
32 |
4 |
447 |
60 |
60 |
|
317 |
0 |
32 |
4 |
353 |
50 |
50 |
|
Light switch with Zigbee FOTA |
333 |
66 |
32 |
4 |
435 |
58 |
58 |
444 |
0 |
32 |
4 |
480 |
67 |
67 |
|
410 |
0 |
32 |
4 |
446 |
87 |
87 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
386 |
0 |
32 |
4 |
422 |
70 |
70 |
|
465 |
0 |
32 |
4 |
501 |
86 |
86 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
The following table lists memory requirements for samples running on the nRF54L15 DK (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 |
|---|---|---|---|---|---|---|---|
387 |
0 |
32 |
4 |
423 |
80 |
80 |
|
411 |
0 |
32 |
4 |
447 |
60 |
60 |
|
317 |
0 |
32 |
4 |
353 |
50 |
50 |
|
Light switch with Zigbee FOTA |
333 |
66 |
32 |
4 |
435 |
58 |
58 |
444 |
0 |
32 |
4 |
480 |
67 |
67 |
|
410 |
0 |
32 |
4 |
446 |
87 |
87 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
386 |
0 |
32 |
4 |
422 |
70 |
70 |
|
465 |
0 |
32 |
4 |
501 |
86 |
86 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
Stack memory requirements
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
mainthread -CONFIG_MAIN_STACK_SIZEFor the stack memory size of the
zbossthread -CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE
Values are provided in bytes (B).
The following table lists memory requirements for the nRF52840 device.
Sample |
|
|
|
|
|---|---|---|---|---|
656 |
2048 |
3032 |
5120 |
|
664 |
2048 |
3036 |
5120 |
|
728 |
2048 |
3008 |
5120 |
The following table lists memory requirements for the nRF5340 device.
Sample |
|
|
|
|
|---|---|---|---|---|
756 |
2048 |
1376 |
5120 |
|
756 |
2048 |
1376 |
5120 |
|
760 |
2048 |
1376 |
5120 |
The following table lists memory requirements for the nRF54L Series devices.
Sample |
|
|
|
|
|---|---|---|---|---|
840 |
2048 |
2312 |
5120 |
|
840 |
2048 |
2112 |
5120 |
|
912 |
2048 |
2128 |
5120 |