|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
How do I locate a global variable at a specific address?
To locate a C166 C global variable to a specific address...
VALUE PUBLIC SYMBOL NAME REP TGR CLASS SECTION NAME ================================================================= 000000H RESET INTNO --- --- --- 00AAAAH junk_var VAR --- NDATA0 ?ND0?MAIN 000004H main LABEL --- NCODE ?PR?MAIN
L166 ???.OBJ TO OUTFILE.ABS SECTIONS(?ND0?MAIN%NDATA0(0x006000))
In uVision, you may specify the section information in the Sections Tab of the Linker Options:
Article last edited on: 2005-07-15 10:38:52
Did you find this article helpful? Yes No
How can we improve this article?