Andes Workshop

It is currently Sat Dec 14, 2019 7:28 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AndeSight裡的Project設定linker script的方法
PostPosted: Tue Aug 23, 2011 3:02 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
(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 4734 times ]


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

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


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

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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group