This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: eCos + LPC21xx footprint
- From: Jani Monoses <jani at iv dot ro>
- To: Thomas Schrein <tsx73 at schrein dot com>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 13 Oct 2004 13:26:34 +0300
- Subject: Re: eCos + LPC21xx footprint
- References: <20041013.diQ.16235700@192.168.104.3>
Thomas Schrein wrote:
Hi list,
I am thinking about to use eCos on Philips LPC2106.
With my information the footprint of a minimal system should be about 90k !! ROM (
the LPCs has only less then 128k flash available). This would be too much to use
eCos in a real application.
Does anyone of you have experiences regarding the footprint ?
The footprint for the ecos tests is about the same as for any ARM platform:
minimal config:
jani@cow ~/work/build/mcb2100/minimal $ size install/tests/hal/common/current/tests/*
text data bss dec hex filename
8954 452 4468 13874 3632 install/tests/hal/common/current/tests/basic
8438 452 4468 13358 342e install/tests/hal/common/current/tests/cache
8798 456 12672 21926 55a6 install/tests/hal/common/current/tests/context
11883 460 4492 16835 41c3 install/tests/hal/common/current/tests/intr
jani@cow ~/work/build/mcb2100/minimal $ size install/tests/infra/current/tests/cxxsupp
text data bss dec hex filename
16272 464 4672 21408 53a0 install/tests/infra/current/tests/cxxsupp
if you have the kernel package included it gets a bit larger.
text data bss dec hex filename
53084 1464 38304 92852 16ab4 install/tests/kernel/current/tests/tm_basic
So both the RAM and the flash on LPC2106 seems plenty for small apps, ecos' overhead is
not much more than if you had to write the hw glue and drivers yourself.
Jani