[ECOS] Memory map: User defined section

Fabrice Gautier Fabrice_Gautier@sdesigns.com
Fri Sep 15 19:58:00 GMT 2000


> -----Original Message-----
> From: Jonathan Larmour [ mailto:jlarmour@redhat.com ]
> Sent: Friday, September 01, 2000 12:37 PM
> To: Fabrice Gautier
> Cc: Ecos-List (E-mail)
> Subject: Re: [ECOS] Memory map: User defined section
> 
> 
> Do you really need it? If you include the appropriate MLT 
> generated .h file
> (by using
> #include <pkgconf/system.h>
> #include CYGHWR_MEMORY_LAYOUT_H
> ) you can get the end by using (&CYGMEM_SECTION_FOO +
> CYGMEM_SECTION_FOO_SIZE).

I just try the solution you gave me some time ago, but it seems that in the
target.ld script the symbol is __FOO while the .h file  assume it is _FOO.
Don't know which is worng and where this should be changed.

Thanks
-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 



More information about the Ecos-discuss mailing list