Jump to content
43oh

ChikamaYan

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by ChikamaYan

    • LaunchPad board name and version: MSP430G2553 
    • Energia IDE version (found in Energia > About Energia menu): 0101E0017
    • Board package version (found in Tools > Boards > Boards Manager menu): no board manager
    • OS name and version: windows10

    Following is all my code:

    void setup()
    {
      Serial.begin(9600);
    }

    void loop()
    {
      float test =1.0;
      Serial.println(test);
    }

    However I get a large number of errors when verifying it:

    c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: sketch_nov16a.cpp.elf section `.text' will not fit in region `rom'

    c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .text loaded at [0000f800,00010b85]

    c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: region `rom' overflowed by 3264 bytes

    c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libcrt0.a(_copy_data.o): In function `__do_copy_data':/root/mspgcc-20120406/BUILD/gcc/gcc/../../../gcc-4.6.3/gcc/config/msp430/crt0.S:195: relocation truncated to fit: R_MSP430_16_BYTE against symbol `__data_load_start' defined in *ABS* section in sketch_nov16a.cpp.elfcore.a(TimerSerial.cpp.o): In function `TimerSerial::TimerSerial()':

    TimerSerial.cpp:(.text._ZN11TimerSerialC2Ev+0x10): relocation truncated to fit: R_MSP430_16_BYTE against symbol `vtable for TimerSerial' defined in .rodata._ZTV11TimerSerial section in core.a(TimerSerial.cpp.o)

    c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/crt0ivtbl16.o: In function `__isr_14': (.text+0x2): relocation truncated to fit: R_MSP430_16 against symbol `_unexpected_' defined in .text.crt0 section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libcrt0.a(_unexpected_.o) core.a(Print.cpp.o): In function `Print::printFloat(double, unsigned char)':

    Print.cpp:(.text._ZN5Print10printFloatEdh+0x22): relocation truncated to fit: R_MSP430_16 against symbol `__ltsf2' defined in .text section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_lt_sf.o)

    Print.cpp:(.text._ZN5Print10printFloatEdh+0x52): relocation truncated to fit: R_MSP430_16 against symbol `__divsf3' defined in .text section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_div_sf.o)

    Print.cpp:(.text._ZN5Print10printFloatEdh+0x68): relocation truncated to fit: R_MSP430_16 against symbol `__addsf3' defined in .text section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_addsub_sf.o)

    Print.cpp:(.text._ZN5Print10printFloatEdh+0x78): relocation truncated to fit: R_MSP430_16 against symbol `__floatunsisf' defined in .text section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_usi_to_sf.o)

    Print.cpp:(.text._ZN5Print10printFloatEdh+0x84): relocation truncated to fit: R_MSP430_16 against symbol `__subsf3' defined in .text section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_addsub_sf.o) Print.cpp:(.text._ZN5Print10printFloatEdh+0xa2): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'

    Print.cpp:(.text._ZN5Print10printFloatEdh+0xba): relocation truncated to fit: R_MSP430_16 against symbol `__mulsf3' defined in .text section in c:/users/chikamayan/downloads/compressed/energia-0101e0017-windows/energia-0101e0017/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_mul_sf.o)

    Print.cpp:(.text._ZN5Print10printFloatEdh+0xc2): additional relocation overflows omitted from the output

    collect2: ld returned 1 exit status

     

    Anyone knows what's the cause?
    Ps. I posted this issue on github before and was told it's because of memory overflow. However, I was just verifying the code and didn't actually upload it to my launchpad, so I guess that's not the case?

×
×
  • Create New...