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

如何指定變數位址
http://forum.andestech.com/viewtopic.php?f=6&t=581
Page 1 of 1

Author:  maxharu [ Wed May 23, 2012 2:09 pm ]
Post subject:  如何指定變數位址

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

Author:  cindy [ Wed May 23, 2012 2:41 pm ]
Post subject:  Re: 如何指定變數位址

要先指定變數放在哪個section,然後在linker script裡指定此section的位址。

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

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