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.

MSP430F5529LP and CC3100BOOST - HTTP client example problem

Other Parts Discussed in Thread: CC3100

Hello,

I am working with MSP430F5529LP and CC3100BOOST and trying to compile code for http client example (http://processors.wiki.ti.com/index.php/CC31xx_HTTP_Client ) in IAR 6.30.1 (30-day time-limeited). At first I had problem described in http://e2e.ti.com/support/wireless_connectivity/f/968/t/411005 and now I am getting new errors:

Fatal Error[Pe1696]: cannot open source file "ti/net/http/httpsrv.h"   in httpsend.c and urlfile.c

and 

Error[Pe020]: identifier "Task_Handle" is undefined in client\httpcli.c

                                           Task_Params 

                                           UArg

                                          Task_FuncPtr

Need help please.

  • Hi Otopol,


    You need to compile only httpcli.c, httpstr.c, ssock.c. Remove/exclude remaining file from project.

    Also seems you are trying to compile with RTOS that we currently not support for CC3100. Please compile http library with following option:
    HTTPCli_LIBTYPE_MIN
    __SL__

    and compile http application with __SL__ option


    Regards,
    Aashish
  • It works now. Thank you Aashish.
  • Hi,

    I'm having trouble using HTTPCli library in IAR.

    As mentionned, I added build flag to HTTPcli Library :

    If I add my library to workspace, Build doesn't work (ti/net/http/httpsrv.h file not found). But if I only keep library in included path and remove library files on workspace, I does build right... Until this new problem :

    linker error :

    Have you any idea to make link step work to use HttpCli lib in IAR ?

    Thanks for your help.