Hi,
I have just started dealing with the msp430, and I would like to ask some help.
http://focus.ti.com/mcu/docs/mcusupporttechdocsc.tsp?sectionId=96&tabId=1502&abstractName=slaa325
I am trying to port the above IAR msp430 - cc1100 interfacing code
library (and simple example) to MSPGCC, but I cant get rid of this
error:
CC1100-CC2500.c:105: warning: `paTable' initialized and declared `extern'
CC1100-CC2500.c:106: warning: `paTableLen' initialized and declared `extern'
msp430-ld: region text is full (main.elf section .text)
msp430-ld: region text is full (main.elf section .text)
msp430-ld: section .data [0000fc00 -> 0000fc01] overlaps section .text
[0000fc00 -> 00010103]
The command I issue:
msp430-gcc -Os -g -C99 -o main.elf main.c CC1100-CC2500.c TI_CC_spi.c
The target mcu is the MSP430F2013 with 2kB+256B Flash and 128B RAM.
All I have done so far: changed the syntax of the interrupt routine
according to the content of the isr_compat.h: ISR(PORT1,sw_int) { },
amended the mcu header to msp430x20x3.h in the
TI_CC_msp430.h file, and reduced the number of switches and LEDs since
the F2013 has only 10 I/Os. I included these files in the main.c:
#include <isr_compat.h>
#include <signal.h>
#include <msp430x20x3.h>
Does anyone have any idea how to solve this?
I would really appreciate the help I get!
Cheers,
Tamas