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.

RTOS/TM4C129XNCZAD: compiling http client sample

Part Number: TM4C129XNCZAD

Tool/software: TI-RTOS

Hello,

i'm using tirtos_tivac_2_16_01_14.

i'm trying to compile the http client sample but i'm getting alot of errors

Description Resource Path Location Type
gmake: *** No rule to make target 'build-1568847969', needed by 'configPkg/compiler.opt'. tcpEcho_DK_TM4C129X_TI Unknown C/C++ Problem
gmake: Target 'all' not remade because of errors. tcpEcho_DK_TM4C129X_TI C/C++ Problem
xdc.MODULE_NOT_FOUND: xdc.module: no module named 'HttpCli' in the package ti.net.http tcpEcho.cfg /tcpEcho_DK_TM4C129X_TI Configuration Validation XDCTools Configuration Marker
xdc.module: no module named 'HttpCli' in the package ti.net.http .xdchelp /tcpEcho_DK_TM4C129X_TI line 566 C/C++ Problem

so what is the wrong, also please find the attached sample

Thanks,

Mohammed Fawzy1452.tcpEcho_DK_TM4C129X_TI.zip

  • Hi Mohammed,

    Which version of CCS and XDCtools are you using to build this?

    I see that you have the following lines in your .cfg file:
    var HttpCli = xdc.useModule('ti.net.http.HttpCli');

    Could you change it to
    var HttpCli = xdc.useModule('ti.net.http.Http');

    and see if it helps?

    Thanks,
    Vincent
  • Thank you Vincent!, it worked, but i'm using xdctools_3_32_01_22_core.
    and the NS help @ file:///C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/docs/NS_Users_Guide.html
    is saying that it should var HttpCli = xdc.useModule('ti.net.http.HttpCli'); not var HttpCli = xdc.useModule('ti.net.http.Http');
    Please advice.

    Thanks,
    Mohammed Fawzy
  • Hi Mohammed,

    This is a bug in the documentation. I'll file it against the product. Thanks for reporting!

    Best regards,
    Vincent