Hello,

I am porting some code from IAR which involves me having to place a few
different structures in very specific addresses in the MSP430 memory.

In IAR there is a pragma to do it:
http://supp.iar.com/Support/?note=27787&from=search+result

The way I see doing it in mspgcc is to create a custom linker script with
custom memory sections, and simply use the "section" attribute to manage
specific variable memory locations in declarations. This seems a little
overkill though as I would have to make different memory sections for each
variable and would have to rewrite the entire memory table as a side
effect.

My question: Is there an easier way to control which address in memory a
variable/structure is stored in without having to muck around with linker
scripts?

Tim
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to