DSP56F805: Assigning a fixed address to a global variable.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DSP56F805: Assigning a fixed address to a global variable.

1,536件の閲覧回数
DouglasHolub
Contributor I
I'm using CodeWarrior 4.2 for the DSP56F805.  I would like one particular variable in my code, bPacketS, to always be assigned address 0x679 during the linking process. How do I tell the linker to do that? Is there a directive I could use in the source file?
 
Doug Holub
Irving, Texas

Message Edited by CrasyCat on 2007-04-13 01:30 PM

ラベル(1)
タグ(1)
0 件の賞賛
1 返信

258件の閲覧回数
Lundin
Senior Contributor IV
There is the '@' operator but it isn't ANSI C.
I would suggest using the .prm file for this.
0 件の賞賛