This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]