Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

2104 makefile

2104 makefile

2004-10-10 by sanjay_varma_bh

Iam newuser of gcc. I want to work with lpc2104. Unfortunately i 
could nt get make file for 2104. So I modified the 2106 rom.ld,ram.ld 
to work it for 2104.

I just changed the length of SRAM to 16k from 64k. But this is not 
working.

Can anyone help me where can I find the 2104 ram.ld,rom.ld,boot.s and 
makefile.

Re: [lpc2000] 2104 makefile

2004-10-10 by Robert Adsett

At 07:26 AM 10/10/04 +0000, you wrote:
>Iam newuser of gcc. I want to work with lpc2104. Unfortunately i
>could nt get make file for 2104. So I modified the 2106 rom.ld,ram.ld
>to work it for 2104.
>
>I just changed the length of SRAM to 16k from 64k. But this is not
>working.

Hmm, that should have worked.  It is possible that the control file you 
were using had to be changed in multiple places or that the startup had the 
ram size/locations hardwired and needed to be changed as well.

In any case the lpc newlib support at 
http://www.aeolusdevelopment.com/Articles/download.html has a linker script 
and startup file that supports the 2104.  The linker script can be modified 
simply to support the 2105 or 2106, no changes need to be made to the 
startup assembly.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.