Am 08.09.2010 11:22, schrieb Mihai Galos: > Dear all, > > I am facing the following compilation problem for the TI MSP430f5438 : > > C:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\..\..\..\..\msp430\bin\ld.exe: > region text is full (Compiler.elf section .text) > C:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\..\..\..\..\msp430\bin\ld.exe: > region text is full (Compiler.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] > > this mcu has 256kB of Flash, and 0x01afc7 - 0x005c00 = 0x153C7, about 87kB. I > don't understand why it says the code is too big. > > I have manually defined __MSP430_5438__ and compiled with -mmcu=msp430x5438. > > Any ideas?
Try a newer toolchain. 3.2.3 is old, and likely uses outdates binutils. -> http://mspgcc4.sourceforge.net/
