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.

CC2652RB: Path variable definition issue

Part Number: CC2652RB

Hi, 

After updating code composer studio, in my project, the path to find the linked files is not recognized anymore. 

If I open one of linked files, it gives the error "Must specify a URI scheme:source/ti/common/npi/src/unified/npi_tl_spi.c"

If I open "Properties" of this file and to "Resource", the Resolved location appears "Unknown". For the location is used a variable :COM_TI_SIMPLELINK_WBMS_SDK_INSTALL_DIR/source/ti/common/npi/src/unified/npi_tl_spi.c. I wondered if the cause was the variable that lost its definition and I tried to add it again:

But it doesn't work because if I press ok and ok again

the window that allows the change of the location has the button "ok" in grey and I wonder it means it still doesn't recongnize the variable. It seems that the varialbe hasn't been accepted or something similar.

It works only if I add the complete path of the file.

Do you know how to add the variable COM_TI_SIMPLELINK_WBMS_SDK_INSTALL_DIR to a specific path without having this issue?

Thanks,

Alessandro Samorì

  • Hi Alessandro,

    The correct setup would include COM_TI_SIMPLELINK_WBMS_SDK_INSTALL_DIR defined inside the CCS Project Properties -> Resource -> Linked Resources and ${COM_TI_SIMPLELINK_WBMS_SDK_INSTALL_DIR}/source/ti/common/npi/src/unified listed under CCS Project Properties -> CCS Build -> Arm Compiler -> Include Options.  You may try cleaning your project before rebuilding, or installing a new example after upgrading CCS.

    Regards,
    Ryan