Hello everybody.
I am trying to port code written for the AVR platform over to the MSP430 one.
Specifically, I am targeting MSP430f5438 and compiling with mspgcc.
I keep getting a linkage error, saying :
C:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\..\..\..\..\msp430\bin\ld.exe: region text is full (Com.elf section .text)
C:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\..\..\..\..\msp430\bin\ld.exe: region text is full (Com.elf section .text)
C:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\..\..\..\..\msp430\bin\ld.exe: section .text [00005c00 -> 0001afc7] overlaps section .data [00005c00 -> 00005c21]
C:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\..\..\..\..\msp430\bin\ld.exe: section .vectors [0000ff80 -> 0000ffff] overlaps section .text [00005c00 -> 0001afc7]
The flash usage (0x005c00 to 0x1afc7) is about 87kBytes, and the MCU has 256kB available.
I have compiled with -O0 -mmcu=msp430x5438 , and I have also tried to manually define the __MSP430_5438__ macro, to no avail.
Any ideas on what I might be doing wrong?