Dear all,

I have a big application(~87kBytes) for the MSP430f5438. I need to split it 
into two parts(one in bank0 and another in bank1) because it will not fit in 
the text section, and will collide with the Interrupt Vector Table (linker 
error). 

I use pointers, so this part will go into bank0 (pointers are 16bit, so you 
can't address memory >64K without inline assembly).

The other part I want to put into bank1. How can I do this? 
I tried putting "__attribute__((__far__))" before the function declarations. 

mspgcc said: Warning: '__far__' attribute directive ignored

Do I  need to declare this region in the linker script? If so, can you provide 
an example syntax, please?

Thank you for your help.

M


      

Reply via email to