You need to pass the --defsym option to the linker.
On the compile line, add something like
-Wl,--defsym,_RamSize=0x10000000
On Dec 2, 2005, at 10:50 PM, D. Peter Siddons wrote:
I have two boards which are identical except for the amounts of
flash and RAM. The linkcmds file has definitions for these
parameters like:
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x7f0000;
so my question is, can I invoke a definition somewhere in the
application make process to override the one in linkcmds? If so,
how and/or where?
Pete.