This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
at91sam7x256 tm_basic problem
- From: "Alexander Neundorf" <alexander dot neundorf at gmx dot net>
- To: ecos-discuss at sourceware dot org
- Date: Thu, 20 Mar 2008 10:49:25 +0100
- Subject: [ECOS] at91sam7x256 tm_basic problem
Hi,
I'm trying to run the tm_basic test on the at91sam7x256 (64kB RAM) but this doesn't seem to work out of the box.
tm_basic.cxx has this code:
#define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_TYPICAL+4*1024)
#define CYG_THREAD_OVERHEAD (STACK_SIZE+ <some more...>)
#define NTEST_THREADS ((CYGMEM_REGION_ram_SIZE/16)/CYG_THREAD_OVERHEAD)
which is here:
64kb/16 / ( <something> + 4kb), i.e. 4 kb/(x+4 kb), which is always zero.
I could start hacking around that, but before that I'd like to ask what the recommended way to run tm_basic on the at91sam7 is ?
Thanks
Alex
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss