LPC2364 GNU Link file

Hello,

I am new with the GNU environment (Eclipse, OpenOCD). The linker expects an lpc2364.ld file, I can not find one on the internet. Can anyone explain what it is or better can you post the lpc2364.ld linker file (txt file).

Thank you in advance,

Twan van der Steen

Hello,

I have learned more, the file is called ‘command linker script file’ with the extention .cmd, does anyone have this file for me?

Greatings,

Twan van der Steen

Sometimes the linker script will have the extension .x (e.g. lpc2364.x).

The linker script’s purpose is to tell the linker where in memory to put each section of the program (e.g., what address does the FLASH start at and how large is it? Where should RAM variables be put? etc.). You might be able to modify the linker script for another LPC23xx chip without too much trouble. (Or even just use another chip’s linker script unmodified, if the other chip has the same memory layout.) The documentation for the GNU linker tells you what the script does in more detail.

I have the LD script I use for my development environment. PM me your email so I can send it over.