[ECOS] tm_basic for edb9301
Fri Nov 26 20:38:00 GMT 2004
Hi again. :)
In my struggle trying to build the tests for the
EDB9301, I got a problem in tb_basic.cxx. arm-elf-gcc
is complaining about a nasty define that is based in a
variable-size type declared outside of any function
And, indeed, it's true. I've greped for the source of
it and found this :
// eCos memory layout - Tue Nov 21 14:25:35 2000
// This is a generated file - do not edit
extern unsigned long SDRAMSize;
#define CYGMEM_REGION_ram (0)
#define CYGMEM_REGION_ram_SIZE (SDRAMSize)
Where SDRAMSize is an assembly routine at
// Store zero at offset zero.
str r0, [r0]
// Start checking for an alias at 1MB into SDRAM.
ldr r1, =0x00100000
(snip, code continues ...)
Well ... now I have a lot of ways to overcome this
problem, like fixing the value in tm_basic, ignoring
tm_basic test for my target, jump out of my office's
window, etc ...
I'd like a suggestion from you, gurus out there.
Thanks a lot, Daniel.
Daniel C. Gomes <firstname.lastname@example.org>
ICQ : 2278714
Belo Horizonte - MG - Brasil
Yahoo! Acesso GrÃ¡tis - Internet rÃ¡pida e grÃ¡tis. Instale o discador agora! http://br.acesso.yahoo.com/
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