configuring memory size
Eric Norum
norume at aps.anl.gov
Mon Dec 5 15:18:27 UTC 2005
> 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.
>
--
Eric Norum <norume at aps.anl.gov>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793
More information about the users
mailing list