DSP56F805: Assigning a fixed address to a global variable.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DSP56F805: Assigning a fixed address to a global variable.

1,517 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Reply

239 Views
Lundin
Senior Contributor IV
There is the '@' operator but it isn't ANSI C.
I would suggest using the .prm file for this.
0 Kudos