[ECOS] ecos memory footprint

Mandeep Sandhu mandeepsandhu.chd@gmail.com
Tue Jul 14 13:18:00 GMT 2009


After a lot of help from you all, me the n00b, finally got to compile
my first "hello world" app
for the at91sam7ex board running ecos.

Here's the o/p of arm-eabi-size for my hello app:

~/ecos/ecos-3.0/examples$ arm-eabi-size hello
   text	   data	    bss	    dec	    hex	filename
  34952	   1552	   9480	  45984	   b3a0	hello

So, does this mean my runtime mem usage will be text + bss (i.e around 44KB)?

Thanks as always,
-mandeep

On Tue, Jul 14, 2009 at 4:33 PM, Mandeep
Sandhu<mandeepsandhu.chd@gmail.com> wrote:
> On Tue, Jul 14, 2009 at 4:08 PM, Sergei
> Gavrikov<sergei.gavrikov@gmail.com> wrote:
>> Mandeep Sandhu wrote:
>>
>>> W/o the USB feature and rest of the basic stuff including lwIP stack
>>> enabl3d, I'm getting around 1.2MB in size!
>>
>> Refer eCos FAQ
>> http://ecos.sourceware.org/fom-serv/ecos/cache/91.html
>
> wow...that was an eye-opener! :) Thanks!
>
> So...now I need to compile my app...a webserver and see how much
> it takes.
>
> -mandeep
>
>>
>> $ <prefix>-size app
>>
>>
>> Sergei
>>
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list