This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPBoot fails to compile with TI v4.4.3, works with TI v4.3.7.

Other Parts Discussed in Thread: MSP430I2041

I am able to compile MSPBoot using TI v4.3.7, but get errors with TI v4.4.3.  It looks like v4.4.3 tries to compile both boot.c in the project, and boot.c in the library.  Shouldn't boot.c in project gets priority by default?   I have no reason not to use v4.3.7, but I am trying understand why it fail in v4.4.3 and if there is a setting that I overlooked.

<Linking>
remark #10372-D: (ULP 4.1) Detected uninitialized Port A in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
error #10056: symbol "_stack" redefined: first defined in "./boot.obj"; redefined in "c:\ti\ccsv6\tools\compiler\ti-cgt-msp430_4.4.3\lib\rts430_eabi.lib<boot.obj>"
error #10056: symbol "_reset_vector" redefined: first defined in "./boot.obj"; redefined in "c:\ti\ccsv6\tools\compiler\ti-cgt-msp430_4.4.3\lib\rts430_eabi.lib<boot.obj>"
"../lnk_msp430i2041.cmd", line 132: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".reset" size 0x4 . Available memory ranges:
RESET size: 0x2 unused: 0x2 max hole: 0x2
error #10010: errors encountered during linking; "MSPBoot.out" not built

>> Compilation failure
gmake: *** [MSPBoot.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

<Linking>
remark #10372-D: (ULP 4.1) Detected uninitialized Port A in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
error #10056: symbol "_stack" redefined: first defined in "./boot.obj"; redefined in "c:\ti\ccsv6\tools\compiler\ti-cgt-msp430_4.4.3\lib\rts430_eabi.lib<boot.obj>"
error #10056: symbol "_reset_vector" redefined: first defined in "./boot.obj"; redefined in "c:\ti\ccsv6\tools\compiler\ti-cgt-msp430_4.4.3\lib\rts430_eabi.lib<boot.obj>"
"../lnk_msp430i2041.cmd", line 132: error #10099-D: program will not fit into available memory.  placement with alignment fails for section ".reset" size 0x4 .  Available memory ranges:
   RESET        size: 0x2          unused: 0x2          max hole: 0x2       
error #10010: errors encountered during linking; "MSPBoot.out" not built

>> Compilation failure
gmake: *** [MSPBoot.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hi Danny,

    I think you might be running into the same issue from this other thread - can you try the workaround I mentioned here:

    I wanted to let you know we worked with the compiler team after the above thread to get the feature fixed in new releases, but I think it will still be a month or two before this is in a compiler version released online.

    Regards,

    Katie

**Attention** This is a public forum