Andes Workshop
http://forum.andestech.com/

AndeSight裡的Project設定linker script的方法
http://forum.andestech.com/viewtopic.php?f=23&t=133
Page 1 of 1

Author:  cindy [ Tue Aug 23, 2011 3:02 pm ]
Post subject:  AndeSight裡的Project設定linker script的方法

(1) Generic target或Pre-defined target沒有指定ld檔案時:
如果只是要改變start address、data address、stack address,
可以從下方的loaded address修改。

它的實作方法是將toolchain內建的ld檔做patch之後,放回project裡。
您可以參考Project裡自動產生的makefile。

Attachment:
p0.gif
p0.gif [ 12.86 KiB | Viewed 8273 times ]


(2) 如果要指定*.ld檔有兩種方法,(a) 由Andes C LinkeràGeneralà-T裡指定Linker script的檔案。

Attachment:
p1.gif
p1.gif [ 19.12 KiB | Viewed 8273 times ]


(b) 如果是pre-defined target,在chip profile裡面指定ld檔。

Attachment:
p3.gif
p3.gif [ 5.6 KiB | Viewed 8273 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/