This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ECOS Memory Requirements
Andrew Lunn wrote:
On Thu, Jun 01, 2006 at 02:04:37PM -0400, Moussa A. Ba wrote:
Are these high memory requirement because the code is loaded from flash
to RAM and then executed or is it just that ECOS data structures need so
much RAM (not that much compared to bigger processors).
eCos can run from ROM. That is the normal setup for AT91SAM7 devices.
To get an idea of code size i suggest you download anoncvs and play
with the build for the AT91SAM7S. Look at the binaries for the
tests.
You can also try with MCB2100 port, an LPC2xxx setup with 16K RAM
(allthough 256K flash) and see how your app compiles). You may need some
memory tuning (irq stack, threads' stacks).
Ilija
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss