Dear Jaehong,

    Just a small additional information to previous Thiago response,

   The *"Text" + "Data"* sizes together are the *required space in Flash*,

while *"Data" + "Bss"* is the* RAM *requirement.

*Iotivity-Constrained with RIOT OS Supported Boards:*

   Tried Iotivity-Constrained with Nucleo-F4XXre,Raspberrypi 3 and Atmel
Samx2XXpro Boards .

*Case1:* Iotivity-Constrained with RIOT OS to Nucleo-F4XXre Board

1.Generated Client and Server Executable files(i.e .hex & .elf)

*Available Flash Memory: 512Kb*

Client.elf====>>>1.3Mb

Text

49324

Data

280

Bss

27652

Dec

77256

Hex

12dc8

*Client.hex====>>>136.3Kb*

Server.elf====>>>1.3Mb


Text

49004

Data

312

Bss

27732

Dec

77048

Hex

12cf8

*Server.**hex**====>>>**135.5Kb*

*Memory Configuration:*

*Name     Origin          Length          Attributes*

rom       0x08000000    0x00080000       xr

ram        0x20000000   0x00018000       xrw

cpuid      0x1fff7a10      0x0000000c

*default*   0x00000000    0xffffffff


*Case2:* Iotivity-Constrained with RIOT OS to Raspberry Pi 3

1.Generated Client and Server Executable files(i.e .hex & .elf)

*Client.elf====>>>125Kb*

Client.hex====>>>125Kb

*Server.elf====>>>124.9Kb*

Server.hex====>>>124.9Kb

Memory Configuration:Default


*Case3:* Iotivity-Constrained with RIOT OS to Atmel Samx2XXpro Board

1.Generated Client and Server Executable files(i.e .hex & .elf)

*Available Flash Memory: **256**Kb*

Client.elf====>>> 2.31 Mb

Text

72560

Data

284

Bss

31120

Dec

103964

Hex

1961c


*Client.hex====>>>200.1Kb*

Server.elf====>>> 2.3Mb

Text

72184

Data

316

Bss

31200

Dec

103700

Hex

19514

*Server.hex====>>>199.2Kb*

*Memory Configuration:*

Name        Origin               Length          Attributes

rom           0x00000000    0x00040000     xr

ram            0x20000000    0x00008000    xrw

*default*      0x00000000     0xffffffff


*Iotivity-Constrained with Contiki OS Supported Board:*

*Available Flash Memory: 512Kb*

Memory Configuration :

server.bin ===>114.5kb

client.bin ===>119.3kb

Name        Origin                     Length
   Attributes

FLASH 0x0000000008000000   0x0000000000080000           xr

RAM 0x0000000020000000     0x0000000000014000            xrw

*default* 0x0000000000000000  0xffffffffffffffff

On Wed, Feb 1, 2017 at 8:21 PM, Thiago Macieira <thiago.macieira at intel.com>
wrote:

> Em quarta-feira, 1 de fevereiro de 2017, ?s 06:24:54 PST, Jaehong, Jo
> escreveu:
> > Hi, Thiago.
> >
> > Do you have material about memory footprint using IoTivity Constrained?
> > How can I measure it on Zephyr?
>
> Hello Jaehong
>
> Since the Constrained FW does not allocate memory dynamically (no malloc),
> you
> can measure the size by using the "size" command on your toolchain. The
> "text"
> and "data" sizes together are the required space in Flash, while "data"
> plus
> "bss" is the RAM requirement.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170202/160c4916/attachment.html>

Reply via email to