I recently bought an Olimex msp430-1121stk development board and have been
using the mspgcc package to experiment with some of the example programs
that came with mspgcc. I have found that the assembly-only program require
some modification before they will assemble without error. There is one
problem I haven't been able to resolve:
>mingw32-make
msp430-gcc -mmcu=msp430x1121 -x
assembler-with-cpp -D_GNU_ASSEMBLER_ -nostartfiles -nostandartlibs -o
timer5.o timer5.s
msp430-gcc -mmcu=msp430x1121 -o T5.elf timer5.o
msp430-ld: region vectors is full (T5.elf section .vectors)
mingw32-make: *** [T5.elf] Error 1
>Exit code: 2
My definition of the interrupt vector section is:
.section .vectors
.org TIMERA1_VECTOR
.word TAX_ISR ;fff0
.word TA0_ISR ;fff2
.word WDT_ISR ;fff4
What's wrong here?