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 samples that were built from sources.

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 plus the corresponding OPENTHREAD_NORDIC_LIBRARY and OPENTHREAD_THREAD_VERSION choices.

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

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

nRF52840 single protocol Thread 1.1 memory requirements

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]

CLI

master

421

0

32

571

88

0

168

CLI

ftd

395

0

32

597

84

0

172

CLI

mtd

347

0

32

645

76

0

180

nRF52840 multiprotocol Thread 1.1 memory requirements

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]

CLI

master

421

67

32

504

88

11

157

CLI

ftd

395

67

32

530

84

12

160

CLI

mtd

347

67

32

578

76

12

168

nRF52840 single protocol Thread 1.2 memory requirements

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]

CLI

master

455

0

32

537

99

0

157

nRF52840 multiprotocol Thread 1.2 memory requirements

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]

CLI

master

455

66

32

471

99

12

145

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.

nRF52833 single protocol Thread 1.1 memory requirements

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]

CLI

master

409

0

24

79

83

0

45

CLI

ftd

383

0

24

105

79

0

49

CLI

mtd

335

0

24

153

72

0

56

nRF52833 multiprotocol Thread 1.1 memory requirements

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]

CLI

master

409

67

24

12

83

12

33

CLI

ftd

383

67

24

38

79

12

37

CLI

mtd

335

67

24

86

72

12

44

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.

nRF5340 single protocol Thread 1.1 memory requirements

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]

CLI

master

381

0

24

619

94

0

418

CLI

ftd

355

0

24

645

91

0

421

CLI

mtd

307

0

24

693

83

0

429

nRF5340 multiprotocol Thread 1.1 memory requirements

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]

CLI

master

381

22

24

597

94

7

411

CLI

ftd

355

21

24

624

91

6

415

CLI

mtd

307

22

24

671

83

7

422