OpenThread memory requirements¶
This page provides information about the layout and the amount of flash memory and RAM that is required by sample that are using 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 samples that were built using the available OpenThread pre-built libraries.
The values change depending on the sample, device type, and hardware platform. Moreover, take into account the following considerations:
All samples were compiled using the default
prj.conf
, the overlayoverlay-ot-defaults
, and images from OpenThread pre-built libraries.The single protocol samples were optimized with the overlay
overlay-minimal_singleprotocol.conf
.The multiprotocol samples were optimized with the overlay
overlay-minimal_multiprotocol.conf
.To enable the multiprotocol support, the following options were used:
CONFIG_MPSL
set toy
(default setting for all samples)CONFIG_BT_LL_SOFTDEVICE_DEFAULT
set toy
CONFIG_BT
set toy
CONFIG_BT_PERIPHERAL
set toy
CONFIG_BT_DEVICE_NAME
set to"NCS DUT"
CONFIG_BT_DEVICE_APPEARANCE
set to833
CONFIG_BT_MAX_CONN
set to1
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.
nRF52840 DK RAM and flash memory requirements¶
The following tables present memory requirements for samples running on the nRF52840 DK (nrf52840dk_nrf52840) with the hardware cryptography support provided by the CC310.
Sample |
Variant |
ROM OT stack + App [kB] |
ROM Bluetooth LE stack [kB] |
Persistent storage [kB] |
Free ROM [kB] |
RAM OT stack + App [kB] |
RAM Bluetooth LE stack [kB] |
Free RAM [kB] |
---|---|---|---|---|---|---|---|---|
master |
314 |
0 |
32 |
678 |
73 |
0 |
183 |
|
ftd |
295 |
0 |
32 |
697 |
72 |
0 |
184 |
|
mtd |
261 |
0 |
32 |
731 |
64 |
0 |
192 |
Sample |
Variant |
ROM OT stack + App [kB] |
ROM Bluetooth LE stack [kB] |
Persistent storage [kB] |
Free ROM [kB] |
RAM OT stack + App [kB] |
RAM Bluetooth LE stack [kB] |
Free RAM [kB] |
---|---|---|---|---|---|---|---|---|
master |
314 |
63 |
32 |
615 |
73 |
9 |
174 |
|
ftd |
295 |
63 |
32 |
634 |
72 |
9 |
175 |
|
mtd |
261 |
63 |
32 |
668 |
64 |
9 |
183 |
nRF52833 DK RAM and flash memory requirements¶
The following tables present memory requirements for samples running on the nRF52833 DK (nrf52833dk_nrf52833) with the software cryptography support provided by the nrf_oberon crypto library module.
Sample |
Variant |
ROM OT stack + App [kB] |
ROM Bluetooth LE stack [kB] |
Persistent storage [kB] |
Free ROM [kB] |
RAM OT stack + App [kB] |
RAM Bluetooth LE stack [kB] |
Free RAM [kB] |
---|---|---|---|---|---|---|---|---|
master |
289 |
0 |
24 |
199 |
80 |
0 |
48 |
|
ftd |
271 |
0 |
24 |
217 |
79 |
0 |
49 |
|
mtd |
237 |
0 |
24 |
251 |
71 |
0 |
57 |
Sample |
Variant |
ROM OT stack + App [kB] |
ROM Bluetooth LE stack [kB] |
Persistent storage [kB] |
Free ROM [kB] |
RAM OT stack + App [kB] |
RAM Bluetooth LE stack [kB] |
Free RAM [kB] |
---|---|---|---|---|---|---|---|---|
master |
289 |
64 |
24 |
135 |
80 |
9 |
39 |
|
ftd |
271 |
64 |
24 |
153 |
79 |
9 |
40 |
|
mtd |
237 |
63 |
24 |
188 |
71 |
9 |
48 |
nRF5340 DK RAM and flash memory requirements¶
The following tables present memory requirements for samples running on the nRF5340 DK (nrf5340dk_nrf5340) with the hardware cryptography support provided by the CC312.
Sample |
Variant |
ROM OT stack + App [kB] |
ROM Bluetooth LE stack [kB] |
Persistent storage [kB] |
Free ROM [kB] |
RAM OT stack + App [kB] |
RAM Bluetooth LE stack [kB] |
Free RAM [kB] |
---|---|---|---|---|---|---|---|---|
master |
283 |
0 |
24 |
717 |
82 |
0 |
430 |
|
ftd |
265 |
0 |
24 |
735 |
81 |
0 |
431 |
|
mtd |
230 |
0 |
24 |
770 |
73 |
0 |
439 |
Sample |
Variant |
ROM OT stack + App [kB] |
ROM Bluetooth LE stack [kB] |
Persistent storage [kB] |
Free ROM [kB] |
RAM OT stack + App [kB] |
RAM Bluetooth LE stack [kB] |
Free RAM [kB] |
---|---|---|---|---|---|---|---|---|
master |
283 |
22 |
24 |
695 |
82 |
6 |
424 |
|
ftd |
265 |
21 |
24 |
714 |
81 |
6 |
425 |
|
mtd |
230 |
22 |
24 |
748 |
73 |
6 |
433 |