[ECOS] Guidance on ROMRAM ldi

Sergei Gavrikov sergei.gavrikov@gmail.com
Sat Nov 20 10:34:00 GMT 2010


On Sat, 20 Nov 2010, Sergei Gavrikov wrote:

> On Fri, 19 Nov 2010, Michael Bergandi wrote:

>> Is there some general rules of thumb on setting up the SECTION
>> declarations to avoid common mistakes/problems?
>> 
>> Any advice is welcome.
>
> Unfortunately, I have not seen a good guide on a design the eCos .ldi
> files.
>
> UTSL. Use those .ldi, asm sources as prototypes, and investigate.

When you will test your first ROMRAM application it's good to get memory
map files, add to CYGBLD_GLOBAL_LDFLAGS something like this '-Wl,-Map
-Wl,eCos.map', in such a case if you will build the 'basic' test from
hal/common, you will find detailed map file under 'hal/common/current'
directory with a name 'eCos.map'. You can easy check it if your get any
issues with test run.

Sergei

-- 
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 mailing list