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:

  • 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.

nRF54L15 single protocol Thread 1.4 memory requirements

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

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.

nRF5340 single protocol Thread 1.4 memory requirements

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

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.

nRF52840 single protocol Thread 1.4 memory requirements

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