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.

MSP430 EZ430 kit basic Simpliciti environment linking problem



 

 

Hi,

 

I am trying to get a basic simplicity environment working (almost a copy of the provided firmware for the ez430 RF2500 kit). I am able to completely compile the delivered firmware.

My own setup contains approx. the same code, except for a much smaller application C file. It contains all the includes, and a very simple void main (void) function.

Compilation now completes succesfully (I had some problems with the command files), but now the linking fails:

***********************************

undefined first referenced

symbol in file

--------- ----------------

main C:/Program Files (x86)/CodeComposerStudio/ccsv4/tools/compiler/msp430/lib/rts430.lib<boot.obj>

error: unresolved symbols remain

error: errors encountered during linking; "Test_Uart.out" not built

******************************************

This would imply that there is no main function, however, it is present in the file. What could be wrong here? What did I miss? Is it some setting somewhere that is not correct?

**Attention** This is a public forum