Re: Custom linker script

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org>
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
>>>>> "Coleman" == Coleman Brumley <[email protected]> writes:

    Coleman> Hello.  Can I copy at91sam7x256_rom.ld to my local directory,
    Coleman> and will that override the linker script in the ldscripts
    Coleman> folder? I need to modify the location in flash where my
    Coleman> software loads from.

Hello,

the linker script is sreach for in the library. So your approach won't help.
For your approach you would need to adapte th linker sraech path.

./conf/tools.nut already has

   at91sam7x256_bootrom     = "AT91SAM7X256, code running in FLASH,
   bootloader in FLASH (code entry at offset 0xC000)",

as linker selection. Why can't you use this feature?

Bye
-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.