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.

Install bug if you install Code Composer Studio on your D: drive

If you install Code Composer Studio and BLE Stack on your D: drive then import the SensorTag project, the project file has incorrect references to your C: drive which results in the build failing.  For example, I see this:


include_path="C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" --

which results in this build error:

"D:/ti/ble_cc26xx_2_01_00_44423/Components/ble/ROM/ROM_Init.c", line 44: fatal error #1965: cannot open source file "inc/hw_types.h"

I can fix this using project properties -> Resource -> Linked Resources dialog.  The incorrect paths were TI_RTOS_DRIVERS_BASE and CC26XXWARE.  These incorrect paths seemed to come from TI_PRODUCTS_DIR which is set to C:\TI even though I explicitly installed the code composer product on D:\TI.  The weird thing is that ccs_config.xml is correct.  

Unfortunately I'm having trouble figuring out how to change TI_PRODUCTS_DIR, it is not editable...

  • Hello Chris,

    Changing TI_RTOS_DRIVERS_BASE and CC26XXWARE is the correct procedure; these defines need to match the actual TI-RTOS SDK path.

    Where do you see "TI_PRODUCTS_DIR" defined in the project / IDE? Can you post a screen shot?

    Best wishes
  • The "un-editable" TI_PRODUCTS_DIR is in the same list as the other 2 path variables that you list above, accessed by
    Project-->Properties-->Resources-->Linked Resources-->Path Variables
  • I installed to a non-default directory on C: (i.e. not to C:\ti, but to C:Users\Public\Documents\.... so that several different logins can access the same common tools), anyway, I had the same problem as you installing on a different drive. It turns out that not only does the CCS project need to know where to find the TI RTOS, as you found by changing the 2 path variables, but the TI RTOS actually needs to be an installed product into the CCS itself.

    In an empty CCS, I added a path here:
    Window --> Preferences --> Code Composer Studio > RTSC > Products

    I added the non-default directory in which I installed the simplelink ble stack as well as the ti rtos, then CCS "discovered" the new product, the TI RTOS v2.13.0.6, installed the ti rtos, and then the project can build!