OpenThread memory requirements
This page provides information about the layout and the amount of flash memory and RAM that is required by samples that use the OpenThread stack. Use these values to see whether your application has enough space for running on particular platforms for different application configurations.
How to read the tables
The memory requirement tables list flash memory and RAM requirements for the Thread CLI sample that was built with OpenThread pre-built libraries.
The values change depending on device type and hardware platform. Moreover, take into account the following considerations:
The sample was compiled using:
The default
prj.conf
configuration file and the corresponding Kconfig optionsCONFIG_OPENTHREAD_NORDIC_LIBRARY
andCONFIG_OPENTHREAD_THREAD_VERSION
selected. See the Select OpenThread libraries documentation for more information on the Kconfig choices.The
CONFIG_ASSERT
Kconfig option set ton
.
Values for the Thread CLI sample, which works with all OpenThread calls, are the highest possible for the OpenThread stack using the master image library configuration.
The tables provide memory requirements for the following device type variants:
FTD - Full Thread Device.
MTD - Minimal Thread Device.
Some tables also list a master variant, which is an FTD with additional features, such as being able to have the commissioner or border router commissioning roles. See Thread device types for more information on device types, and OpenThread commissioning for more information on commissioning roles.
nRF54L15 DK RAM and flash memory requirements
The following tables present memory requirements for samples running on the nRF54L15 DK (nrf54l15dk) with the cryptography support provided by the CRACEN driver.
master |
FTD |
MTD |
|
---|---|---|---|
ROM OT stack + App [kB] |
478 |
368 |
315 |
ROM Bluetooth LE stack [kB] |
0 |
0 |
0 |
Persistent storage [kB] |
32 |
32 |
32 |
Free ROM [kB] |
1014 |
1124 |
1177 |
RAM OT stack + App [kB] |
107 |
98 |
87 |
RAM Bluetooth LE stack [kB] |
0 |
0 |
0 |
Free RAM [kB] |
149 |
158 |
169 |
master |
FTD |
MTD |
|
---|---|---|---|
ROM OT stack + App [kB] |
478 |
368 |
315 |
ROM Bluetooth LE stack [kB] |
91 |
91 |
91 |
Persistent storage [kB] |
32 |
32 |
32 |
Free ROM [kB] |
923 |
1033 |
1086 |
RAM OT stack + App [kB] |
107 |
98 |
87 |
RAM Bluetooth LE stack [kB] |
14 |
14 |
14 |
Free RAM [kB] |
135 |
144 |
155 |
nRF5340 DK RAM and flash memory requirements
The following tables present memory requirements for samples running on the nRF5340 DK (nrf5340dk) with the cryptography support provided by the nrf_oberon driver.
FTD |
MTD |
|
---|---|---|
ROM OT stack + App [kB] |
330 |
276 |
ROM Bluetooth LE stack [kB] |
0 |
0 |
Persistent storage [kB] |
32 |
32 |
Free ROM [kB] |
662 |
716 |
RAM OT stack + App [kB] |
101 |
91 |
RAM Bluetooth LE stack [kB] |
0 |
0 |
Free RAM [kB] |
411 |
421 |
FTD |
MTD |
|
---|---|---|
ROM OT stack + App [kB] |
330 |
276 |
ROM Bluetooth LE stack [kB] |
30 |
30 |
Persistent storage [kB] |
32 |
32 |
Free ROM [kB] |
632 |
686 |
RAM OT stack + App [kB] |
101 |
91 |
RAM Bluetooth LE stack [kB] |
13 |
13 |
Free RAM [kB] |
398 |
408 |
nRF52840 DK RAM and flash memory requirements
The following tables present memory requirements for samples running on the nRF52840 DK (nrf52840dk_nrf52840) with the cryptography support provided by the nrf_oberon driver.
FTD |
MTD |
|
---|---|---|
ROM OT stack + App [kB] |
359 |
304 |
ROM Bluetooth LE stack [kB] |
0 |
0 |
Persistent storage [kB] |
32 |
32 |
Free ROM [kB] |
633 |
688 |
RAM OT stack + App [kB] |
93 |
83 |
RAM Bluetooth LE stack [kB] |
0 |
0 |
Free RAM [kB] |
163 |
173 |
FTD |
MTD |
|
---|---|---|
ROM OT stack + App [kB] |
359 |
304 |
ROM Bluetooth LE stack [kB] |
75 |
76 |
Persistent storage [kB] |
32 |
32 |
Free ROM [kB] |
558 |
612 |
RAM OT stack + App [kB] |
93 |
83 |
RAM Bluetooth LE stack [kB] |
13 |
13 |
Free RAM [kB] |
150 |
160 |