[En-Nut-Discussion] Custom linker script

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Sep 9 16:50:44 CEST 2015

>>>>> "Coleman" == Coleman Brumley <cbrumley at polarsoft.biz> 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.


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?

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list