paloalgodon wrote: >I admit I'm a little disappointed about getting no replies on this >one. Looking over the exisiting .ld files I have, it would appear to >be less than an hour's work (?). I just figure, why re-invent the >wheel, when there's probably a bunch of *tested* copies running around >(especially when I'm a newbie). I was actually suprized that there >wasn't already a complete set of .ld files for all the lpc parts in the >files section of our group. I understand that .ld files are typically >customized a bit, just like makefiles, but a straightforward one that > > Linker script files (.ld) are unique to the development environment: compiler, libraries, etc. They are not peculiar to the processor flavor, therefore you can take a LPC21xx, LPC22xx, LPC23xx, or whatever, make a few changes to the top of the file where the MEMORY SIZEs are, and use them. The scripts essentially describe where to put what. And before I get flamed, yes, there are slightly different arrangements of memory between the LPC products where an external memory bus is available.. The files are not hard to read, if you are on Linux: 'info ld' and look at the "scripts" menu entry. If you are Cygwin, well..., YMMV. Embedded programming is an acquired skill / art-form, not a turnkey operation. Reminds me of "... teach a man how to fish ...". Regards, TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] .ld for 2148
2005-12-30 by Tom Walsh
Attachments
- No local attachments were found for this message.