I am using a MSP430f2272 on a custom board using CCS 5.3.0.00083. I can build run and debug the application fine in “Build Configuration->Set Active ->Debug” mode but I can’t build and link in “Build Configuration->Set Active ->release” mode. The project originally started out with a MSP430F2232 and we upgraded to a MSP430F2272 for more flash. I have gone through every config screen in the CCS build “properties” and I have yet to find any difference in the configuration that would cause the release build / link to fail. I can confirm that both debug and release use MSP340F2272 as a variant and the linker command file is lnk_msp430f2272.cmd for both debug and release.
I know the release compile works because I see the .PP files in the release folder but the link fails. Here is the errors I get: Any ideas on why me release build won’t link? What should I check?
'Invoking: MSP430 Linker'
"C:/ccs5p3_float/ccsv5/tools/compiler/msp430_4.1.3/bin/cl430" -vmsp --abi=eabi -O2 --advice:power=all --define=__MSP430F2272__ --diag_warning=225 --display_error_number --printf_support=minimal -z --stack_size=80 -m"eraseApplication.map" --heap_size=80 -i"C:/ccs5p3_float/ccsv5/ccs_base/msp430/include" -i"C:/ccs5p3_float/ccsv5/tools/compiler/msp430_4.1.3/lib" -i"C:/ccs5p3_float/ccsv5/tools/compiler/msp430_4.1.3/include" --reread_libs --warn_sections --display_error_number --rom_model -o "eraseApplication.out" -l"./configPkg/linker.cmd" "./utils.obj" "./timer.obj" "./rs232.obj" "./main.obj" "./io.obj" "./ints.obj" "./i2c.obj" "./globals.obj" "./cmd_parser.obj" "./adc.obj" -l"libc.a"
<Linking>
warning #10247-D: creating output section ".bss" without a SECTIONS
specification
warning #10247-D: creating output section ".data" without a SECTIONS
specification
warning #10247-D: creating output section ".int02" without a SECTIONS
specification
warning #10247-D: creating output section ".int03" without a SECTIONS
specification
warning #10247-D: creating output section ".int05" without a SECTIONS
specification
warning #10247-D: creating output section ".int06" without a SECTIONS
specification
warning #10247-D: creating output section ".int07" without a SECTIONS
specification
warning #10247-D: creating output section ".int08" without a SECTIONS
specification
warning #10247-D: creating output section ".int09" without a SECTIONS
specification
warning #10247-D: creating output section ".int10" without a SECTIONS
specification
warning #10247-D: creating output section ".int12" without a SECTIONS
>> Compilation failure
specification
warning #10247-D: creating output section ".int13" without a SECTIONS
specification
warning #10247-D: creating output section ".int14" without a SECTIONS
specification
warning #10247-D: creating output section ".reset" without a SECTIONS
specification
warning #10247-D: creating output section ".stack" without a SECTIONS
specification
warning #10247-D: creating output section ".text" without a SECTIONS
specification
warning #10247-D: creating output section ".cinit" without a SECTIONS
specification
undefined first referenced
symbol in file
--------- ----------------
ADC10AE0 ./adc.obj
ADC10AE1 ./adc.obj
ADC10CTL0 ./adc.obj
ADC10CTL1 ./adc.obj
ADC10DTC0 ./adc.obj
ADC10DTC1 ./adc.obj
ADC10SA ./adc.obj
BCSCTL1 ./utils.obj
BCSCTL2 ./utils.obj
BCSCTL3 ./utils.obj
CALBC1_16MHZ ./utils.obj
CALBC1_8MHZ ./utils.obj
CALDCO_16MHZ ./utils.obj
CALDCO_8MHZ ./utils.obj
DCOCTL ./utils.obj
IE2 ./rs232.obj
IFG2 ./i2c.obj
P1DIR ./io.obj
P1IE ./io.obj
P1IES ./io.obj
P1IFG ./io.obj
P1IN ./utils.obj
P1OUT ./io.obj
P1REN ./io.obj
P1SEL ./io.obj
P2DIR ./io.obj
P2IE ./io.obj
P2IES ./io.obj
P2IFG ./io.obj
P2OUT ./main.obj
P2REN ./io.obj
P2SEL ./io.obj
P3DIR ./io.obj
P3OUT ./io.obj
P3REN ./io.obj
P3SEL ./rs232.obj
P4DIR ./io.obj
P4IN ./main.obj
P4OUT ./main.obj
P4REN ./io.obj
P4SEL ./io.obj
TACCR0 ./timer.obj
TACCTL0 ./timer.obj
TACTL ./timer.obj
UCB0BR0 ./i2c.obj
UCB0BR1 ./i2c.obj
UCB0CTL0 ./i2c.obj
UCB0CTL1 ./i2c.obj
UCB0I2CIE ./i2c.obj
UCB0I2COA ./i2c.obj
UCB0I2CSA ./i2c.obj
UCB0RXBUF ./i2c.obj
UCB0STAT ./i2c.obj
UCB0TXBUF ./i2c.obj
WDTCTL ./utils.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "eraseApplication.out" not
built
gmake: *** [eraseApplication.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****