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.

IAR library into CCS - unresolved symbol

Hello,

I'm trying to build a CCS project with demo project from AmberWireless and library developed under IAR.

It seems that I issued to attach all the #include files. But there's still some "unresolved symbol" errors.

In a old project I remember some problem with syntax differences between IAR and CCS, and wonder if it is a similar problem...

My first error (and the other error are nearly the same) is "unresolved symbol AMB_DataRequest, first referenced in ./main.obj".

The syntax in library "amb_rflib.h" is :

extern AMB_Status_t
AMB_DataRequest(uint8_t DstNetID,
                uint16_t DstID,
                uint8_t PayloadLength,
                const uint8_t *PayloadP);

Does someone have an idea ?

Regards,

PS : here a print screen of the errors encountered

  • The function AMB_DataRequest is probably defined in a library.  You need to refer to that library when linking.

    Thanks and regards,

    -George

  • You're right George.

    I've just received the response for AmberWireless. The problem was that the library developed under IAR is a .r43 file. But Code Composer Studio doesn't recognize this file, so the library was missing...

    So my question is changed to "how can I use or convert a .r43 library under CCS?"

    Best regards,

  • An .r43 library?  I am not familiar with that file extension.  Try running ofd430 on it.  That's the object file display utility.  It is described in the MSP430 assembly tools book.  If ofd430 recognizes it, then perhaps the linker can use it as input.  

    Thanks and regards,

    -George

  • As I'm quite late on that project, I decided to install IAR system (time limited evaluation). -> now, linking is OK

    I think that 1 month will be good for developing prototype.

    After that, I will try ofd430 or buy IAR System depending on what seems to be better... saving time or money??

    Best regards and thanks for your prompt reply!