Zigbee memory requirements¶
This page provides information about the amount of flash memory and RAM that is required by Zigbee samples. Use it to check if your application has enough space for a given configuration.
Samples were built using the available ZBOSS Zigbee stack.
Unless stated otherwise, the default prj.conf
was used.
nRF52840 DK RAM and flash memory requirements¶
The following table lists memory requirements for samples running on the nRF52840 DK (nrf52840dk_nrf52840).
Sample |
ROM ZBOSS stack + App [kB] |
ROM MCUBoot bootloader |
ROM ZBOSS non-volatile memory |
ROM ZBOSS product config |
RAM ZBOSS stack + App [kB] |
Total ROM |
Total RAM |
---|---|---|---|---|---|---|---|
292 |
0 |
32 |
4 |
59 |
328 |
59 |
|
309 |
0 |
32 |
4 |
45 |
345 |
45 |
|
243 |
0 |
32 |
4 |
39 |
279 |
39 |
|
Light switch with Zigbee FOTA |
254 |
48 |
32 |
4 |
42 |
338 |
42 |
358 |
0 |
32 |
4 |
57 |
394 |
57 |
nRF52833 DK RAM and flash memory requirements¶
The following table lists memory requirements for samples running on the nRF52833 DK (nrf52833dk_nrf52833).
Sample |
ROM ZBOSS stack + App [kB] |
ROM MCUBoot bootloader |
ROM ZBOSS non-volatile memory |
ROM ZBOSS product config |
RAM ZBOSS stack + App [kB] |
Total ROM |
Total RAM |
---|---|---|---|---|---|---|---|
297 |
0 |
16 |
4 |
59 |
317 |
59 |
|
314 |
0 |
16 |
4 |
45 |
334 |
45 |
|
247 |
0 |
16 |
4 |
39 |
267 |
39 |
|
Light switch with Zigbee FOTA |
n/a (insufficient flash memory size) |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
356 |
0 |
16 |
4 |
55 |
376 |
55 |
Stack memory requirements¶
The following table lists stack memory requirements for main
and zboss
threads.
These measurements were carried out with 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
Sample |
|
|
|
|
---|---|---|---|---|
432 |
1024 |
1144 |
2048 |
|
592 |
1024 |
1144 |
2048 |
|
576 |
1024 |
1144 |
2048 |