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.

nRF5340 DK RAM and flash memory requirements

The following tables present memory requirements for samples running on the nRF5340 DK (nrf5340dk_nrf5340) with the software cryptography support provided by the nrf_oberon crypto library module.

nRF5340 single protocol Thread 1.3 memory requirements

FTD

MTD

ROM OT stack + App [kB]

327

274

ROM Bluetooth LE stack [kB]

0

0

Persistent storage [kB]

24

24

Free ROM [kB]

673

726

RAM OT stack + App [kB]

100

90

RAM Bluetooth LE stack [kB]

0

0

Free RAM [kB]

412

422

nRF5340 multiprotocol Thread 1.3 memory requirements

FTD

MTD

ROM OT stack + App [kB]

327

274

ROM Bluetooth LE stack [kB]

29

30

Persistent storage [kB]

24

24

Free ROM [kB]

644

696

RAM OT stack + App [kB]

100

90

RAM Bluetooth LE stack [kB]

11

11

Free RAM [kB]

401

411

nRF52840 DK RAM and flash memory requirements

The following tables present memory requirements for samples running on the nRF52840 DK (nrf52840dk_nrf52840) with the software cryptography support provided by the nrf_oberon crypto library module.

nRF52840 single protocol Thread 1.3 memory requirements

master

FTD

MTD

ROM OT stack + App [kB]

453

357

305

ROM Bluetooth LE stack [kB]

0

0

0

Persistent storage [kB]

32

32

32

Free ROM [kB]

539

635

687

RAM OT stack + App [kB]

102

93

83

RAM Bluetooth LE stack [kB]

0

0

0

Free RAM [kB]

154

163

173

nRF52840 multiprotocol Thread 1.3 memory requirements

master

FTD

MTD

ROM OT stack + App [kB]

453

357

305

ROM Bluetooth LE stack [kB]

77

77

76

Persistent storage [kB]

32

32

32

Free ROM [kB]

462

558

611

RAM OT stack + App [kB]

102

93

83

RAM Bluetooth LE stack [kB]

16

16

15

Free RAM [kB]

138

147

158