by more memory do you mean more RAM? if so then this would make sense
because the ram will result in less flash below the 64k boundary which
would explain your issue.
Jesse

On Fri, Jun 15, 2012 at 6:17 AM, Sergei Sharonov
<ser...@houston-radar.com> wrote:
> On 6/15/2012 5:21 AM, Mohammad Katmawi wrote:
>> I have a code which I compiled successfully to some wireless sensor node.
>>
>> Now I am trying to compile the same
>>   code with a wireless sensor node which has MORE memory but I got an
>> error "region `rom' overflowed by 120  bytes". This means the size of
>> the code is bigger that the memory inside the node but this node has
>> more memory than the previous one which works fine.
> Look at the map file and see:
> 1. If memory map is correct and matches your MCU memory.
> 2. Where did all the memory go.
>
> Make sure your linker is invoked with appropriate flags and does
> generate map file.
> For example my LDFLAG are:
> -mmcu=$(CPU) -Wl,-Map=$(NAME).map,--cref
>
> Regards,
>
> Sergei
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to