EmbDev.net

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


von Mario (Guest)


Rate this post
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

von Martin Thomas (Guest)


Rate this post
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.