Andes Workshop

It is currently Fri Mar 29, 2024 7:25 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 如何指定變數位址
PostPosted: Wed May 23, 2012 2:09 pm 
Offline

Joined: Wed May 23, 2012 12:51 pm
Posts: 1
我是剛接觸AndeSight的初學者, 之前是使用Keil C,
想請問一下AndeSight是否有類似Keil C的"_at_"一樣,
可以在使用C programming FW時簡便指定變數位址的方法呢?
謝謝.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: 如何指定變數位址
PostPosted: Wed May 23, 2012 2:41 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
要先指定變數放在哪個section,然後在linker script裡指定此section的位址。

請參考以下文章。
viewtopic.php?f=16&t=132
viewtopic.php?f=23&t=183


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

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 12 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