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.

CCS/CC2640R2F: How to get rid of the invalid project path:Include path not found warning

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi,

I started building the application over the simple_peripheral_observer example from the ble_examples-simplelink_cc2640r2_sdk-2.20 I found online. Then later I deleted this sdk and the CCS by takes up a compatible version of the sdk i.e. 2.30.0.28.

I checked the Project->Properties->CCS Build->ARM Compiler->Include Options and nothing seems to be pointing to the sdk 2.20 path which of course doesn't exist. Below is the warnings I get.

Invalid project path: Include path not found (/home/vinaydivakar/Desktop/ble_examples-simplelink_cc2640r2_sdk-2.20/examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_peripheral_observer/src/stack).

Product 'SimpleLink CC2640R2 SDK' v2.20.0.49 is not currently installed. A compatible version 2.30.0.28 will be used.

I also searched in the .cproject file and there is no path defined in there. In the .ccsproject file, I changed the "SDK: 2.20.0.49" to "SDK:2.30.00.28" as shown below.

	<templateProperties value="id=simple_peripheral_observer_cc2640r2lp_stack_library.projectspec.simple_peripheral_observer_cc2640r2lp_stack_library,products=com.ti.SIMPLELINK_CC2640R2_SDK:2.30.00.28;com.ti.rtsc.XDCtools:3.50.02.20,target=ti.targets.arm.elf.M3,platform=ti.platforms.simplelink:CC2640R2F,buildProfile=release,isHybrid=true,configuroOptions=--compileOptions ${COMPILER_FLAGS}"/>
	<origin value="/home/vinaydivakar/Desktop/Adroit/Projects_Gitkraken/ruru_cc2640r2/ruru_cc2640r2/CCS_ibeaconTxRx/simple_peripheral_observer_cc2640r2lp_stack_library"/>

And I also checked the paths in Project Properties->Linked Resources and the ${COM_TI_SIMPLELINK_CC2640R2_SDK_INSTALL_DIR} is resolved to the sdk 2.30.00.28.So no issues here as well.

Could someone advise on how to get rid of the above warnings?

  • Vinay,

    In your Project Properties->General->Products tab ensure that the SimpleLink SDK version 2.30.0.28 is enabled, then rebuild the project.


    Vinay Divakar said:

    I checked the Project->Properties->CCS Build->ARM Compiler->Include Options and nothing seems to be pointing to the sdk 2.20 path which of course doesn't exist.

    Please check the Include Options again and look closely at paths that use variables to make sure the variables are actually defined and resolved correctly. 
    If does not help address the issue, please provide a screenshot of the Compiler Include Options settings and the full build output from the CCS build console.

  • I have already enabled the SDK version 2.30.0.28. Tried the rebuild as well as a full clean and build entire workspace. But that warning still seems to persist. Again took a look at the include options and all the path variables point to this SDK 2.30.0.28.

    Below is screen shot of the include options.

    And below is the build console output attached.

    8004.build_Output.txt

  • The screenshots you attached are for the simple_peripheral_observer_cc2640r2lp_app while the Include Path warning seems to be coming from the simple_peripheral_observer_cc2640r2lp_stack_library project.

    In your build log, search for "ble_examples-simplelink_cc2640r2_sdk-2.20". You should find the include path shown below in the project options. That appears to be the one that is not valid.

    --include_path="/home/vinaydivakar/Desktop/ble_examples-simplelink_cc2640r2_sdk-2.20/examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_peripheral_observer/src/stack" 

  • I found the include path and removed it. Now this warning has gone. But I do get another warning as shown below:

    Product 'SimpleLink CC2640R2 SDK' v2.20.0.49 is not currently installed. A compatible version 2.30.0.28 will be used.

    How do I get rid of the above warning?

  • This warning is saying that the original project was created to use SimpleLink SDK v2.20.0.49 but since that version was not found/installed, a compatible version will be used. In most cases, the warning is harmless and the project should build and work with a newer SDK. But you can "migrate" the project to the newer SDK version by going into Project Properties->General->Products tab and explicitly selecting the version of SDK to the one you have installed.

    However just bear in mind that in some cases, a project may have a dependency or will require a specific version of SDK for it to work properly. For examples that have such dependencies, it will typically be noted in the Readme or Release Note.