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.

Compiler/CC2640: Build TIRTOS example project as C++ application onl inux

Part Number: CC2640
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

Hey,

I was wondering if anyone has experience with building TIRTOS C++  applications(main.cpp) for the cc2640 to link with the tirtos C-based stack and thereby using the g++ compiler and linking against lib standard c++ on linux?

If so, can you share the steps taken to do so on CCS or otherwise.

Thanks!

Asma

  • In addition, when i try to build (still on ccs linux), I get this error:

    "Description    Resource    Path    Location    Type
    xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.    .xdchelp    /cpp_test_app    line 71    C/C++ Problem"

    Even though i am using xdc tools 3.55:

    Thanks

    Asma

  • Hi Asma,

    What TI-RTOS (or SimpleLink SDK) version are you using?

    If you are using TI-RTOS CC13XX and CC26XX, you need to use a pre-3.50 XDCtools. Take a look in the release notes for the recommended XDCtools version to use. Different versions of XDCtools can be downloaded from here: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html

    Todd