[ECOS] how to configure eCos small enough to run on at91sam7s64
Sun May 31 16:41:00 GMT 2009
wb ning writes:
> After building the library, i use the command " arm-eabi-gcc -g
> -IBASE_DIR/ecos-work/install/include hello.c
> -LBASE_DIR/ecos-work/install/lib -Ttarget.ld -nostdlib" to build the
> HelloWorld test. Then a "a.out" exist.
eCos has `examples' directory which contains the scripts to get up a
proper Makefile to compile your eCos application.
> But when i use shell command "./a.out", i cann't get any output. Must
> i have download to the board to run the test?
Of course, if that is _RAM_ startup build, otherwise, you should burn
the application in the ROM like RedBoot and use JTAG, LED(s), or cross
And what is a reason to do not try the eCos tests first? Any eCos test
is more useful than one-line greeting
make -s hal/common/v3_0 tests
ls -R install/tests
> i can find the size of the "a.out" is 137k. Is this size the same as
> your said "code/data size", How can i get the *.elf file and use
> arm-eabi-size to find out the code/data size?
Please, refer to eCos FAQ
Usually, an eCos application without the eCos kernel is just a few of
The tips how to reduce amount of memory for eCos you can find seeking
through out the eCos discuss list, or just here:
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