EmbDev.net

Forum: ARM programming with GCC/GNU tools Start Up File + Linker Script + Makefile + LPC2888


Author: Mario (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello...

Are there any makefiles, linker scripts and start up files available for
the LPC2888???

I have been looking around now for quite a long time and cant find any
support.

Maybe one of you guys can help.

Thank you very much!

Mario

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
Mario wrote:
> Hello...
>
> Are there any makefiles, linker scripts and start up files available for
> the LPC2888???
>
> I have been looking around now for quite a long time and cant find any
> support.
>
> Maybe one of you guys can help.
>
> Thank you very much!
>
> Mario

So far I have not used this model so take the following for what it's
worth:

If you can not find "ready-made" files for the GNU-toolchain search for
code-examples from the commercial tool vendors (IAR, Green Hills,
Keil/ARM etc.). If you find an example you at least get an idea how the
startup-code should look like (esp. the setup for the external memory
interface). Usualy it's rather easy to port assembler-code from one
"syntax" to another. Linker-scripts are somehow generic, basicly you can
take a linker-script for another target and adjust memory-locations and
-sizes. You may have to add additional memory-sections for external
memory and assign the c-sections accordingly. Maybe the linker-scripts
for the gba from devkitpro can serve as examples for this.

Martin Thomas

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.