EmbeddedRelated.com
Forums

Good places to find boot/crt.s and linker scripts.

Started by Delbert M March 31, 2010
Ive been out of the loop for 5 years now, I have come back to arm development in my spare time, looks like a few things have changed. Having issues getting interrupts to work, with sample code I found. Been awhile since Ive known exactly what to put in these files. Working with a Olimex lpc2214 header board, their examples don't compile with gcc, they must be using something else. would love to get back into this game, as I have some interesting stuff to do with servos.

The Old crt.s file I was using to set up stacks and whatnot.
http://pastebin.com/61BNGVQm
New Linker script I got with a blinky LED project
http://pastebin.com/AQ5Tunhy

Old Linker Script:
http://pastebin.com/WDBqdnW9

New Linker Script:
http://pastebin.com/7tPae03B

Anyone have any pointers at where I should start?

--Del

An Engineer's Guide to the LPC2100 Series

There are some good examples for LPC1xxx at CodeRed site:
http://support.code-red-tech.com/CodeRedWiki/RedSuite3Examples
ite:%20http://support.code-red-tech.com/CodeRedWiki/RedSuite3Examples>

There are also some good examples in the NXP site, for LPCXpresso:
http://ics.nxp.com/support/lpcxpresso/#Examples

Renan

--- In l..., "Delbert M" wrote:
>
> Ive been out of the loop for 5 years now, I have come back to arm
development in my spare time, looks like a few things have changed.
Having issues getting interrupts to work, with sample code I found. Been
awhile since Ive known exactly what to put in these files. Working with
a Olimex lpc2214 header board, their examples don't compile with gcc,
they must be using something else. would love to get back into this
game, as I have some interesting stuff to do with servos.
>
> The Old crt.s file I was using to set up stacks and whatnot.
> http://pastebin.com/61BNGVQm
> New Linker script I got with a blinky LED project
> http://pastebin.com/AQ5Tunhy
>
> Old Linker Script:
> http://pastebin.com/WDBqdnW9
>
> New Linker Script:
> http://pastebin.com/7tPae03B
>
> Anyone have any pointers at where I should start?
>
> --Del
>