DSP56F805: Assigning a fixed address to a global variable.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DSP56F805: Assigning a fixed address to a global variable.

1,609 次查看
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 回复

331 次查看
Lundin
Senior Contributor IV
There is the '@' operator but it isn't ANSI C.
I would suggest using the .prm file for this.
0 项奖励
回复