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.

SIMPLESTUDIO: Installation Directory

Part Number: SIMPLESTUDIO

Tool/software:

Hello,

I am developing a Zigbee 3.0 project in Code Composer Studio for the CC2652-R7 development board.  I installed CCS version: 12.8.1.00005.  The project compiles and references the TI stack installation at C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01.

I would like to pull the stack installation into our project folder so we can modify some of these files without impacting the original stack files, which could be used in the future for other unrelated projects.  This will also allow us to commit all of our source code as a single project in source control.

I created a new project with one top-level directory for the workspace files, and another top-level directory for the stack files, and I copied all of the stack files from C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01 into the stack directory.  But when I build the project, it still references the source files in C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01.

I took two high-level approaches to solving this problem but neither has worked.

#1 - Add the Stack as a New Product

I navigated to Window -> Preferences -> CCS -> Products and tried unchecking the C:/ti folder and adding the directory to my copied stack.  When I uncheck the C:\ti stack, all of the SimpleLink SDK stacks disappear from the Discovered products window, but they do not re-appear when I add the directory to my copied stack (C:\Development\dmm_zr_light\simplelink_cc13xx_cc26xx_sdk_8_30_01_01).  There must be something CCS is looking for to discover a valid stack that I do not have in my TI_Stack directory.  See image.

 

#2 - Try to change the definition of COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR

There are a couple places where I tried to change this to my new stack directory, even though I'm not sure if this will work since CCS doesn't think my new directory is a valid stack, per issue #1.  As one example, I went to Project Properties -> Resource -> Linked Resources.  After I updated the COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR value and clicked apply and close, when I open this window again, the SDK_INSTALL_DIR value reverted to the previous definition.

I noted that the COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR value seems to be defined in at least two places:

* Project Properties -> Resource -> Linked Resources

* Project Properties -> Build -> Variables (system variables)

But changing these did not fix the problem.  The compiler continues to build my project using the stack sources in C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01.

--

So I have a couple questions.

1. Is it possible (and practical) to move the TI stack files from C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01 into a new location?

2. If so, how can I get CCS to recognize the new stack installation and use that when building the project?  What am I doing wrong?

Thank you!

  • Hello,

    When I uncheck the C:\ti stack, all of the SimpleLink SDK stacks disappear from the Discovered products window, but they do not re-appear when I add the directory to my copied stack (C:\Development\dmm_zr_light\simplelink_cc13xx_cc26xx_sdk_8_30_01_01).  There must be something CCS is looking for to discover a valid stack that I do not have in my TI_Stack directory.

    "C:\Development\dmm_zr_light\simplelink_cc13xx_cc26xx_sdk_8_30_01_01" is likely missing the metadata that defines the package to CCS so that it can get discovered. In the original package, look for a ".metadata" folder.

  • Thank you - I did include the .metadata folder with the product.json file and .tirex subfolder.  Any other ideas?

  • the key file for detection is the .metadata/.tirex/package.tirex.json file. Make sure it is valid. The name and version shown in the discovered product list is taken from this file