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/BOOSTXL-CC2650MA: Unable to add a Path Variable to CCS 7.2

Part Number: BOOSTXL-CC2650MA

Tool/software: TI C/C++ Compiler

Hi,

I have imported and run Project Zero from the simplelink_msp432_sdk_bluetooth_plugin_1_00_00_84 package and it works fine as is. However, I would like to do the same but using the GNU Compiler.   

To start this, I imported The MSP_EXP432P401R TI-RTOS GCC empty project from the MSP432 Simplelink package, however when I attempt to add a Path Variable, the path variable does not stay persistent after selecting OK. 

The path variable I am attempting to add is :

   COM_TI_SIMPLELINK_MSP432_SDK_BLUETOOTH_INSTALL_DIR

Linked to:

   C:\ti\tirex-content\simplelink_msp432_sdk_bluetooth_plugin_1_00_00_84

This is the same as in the original Project 0 so I know the path is fine.  I just don't know why the GCC project till not save this setting.

There is no error or other indication as to why this will not save.

Is this a known bug?

Cheers,  

Jon

  

  • John,

    That variable gets automatically added to the project when you add the bluetooth plugin to the project.

    Here is the "project zero" project.  It has the products added to it for the SDK and the plugin:

    The SDK product is actually getting added to it from the "tirtos" project which is specified as a dependency, but the Bluetooth plugin product is specified directly in this project.

    Once you add that project it will setup the variables:

    I couldn't find the empty project but I imported the hello project from the TI-RTOS Kernel examples in the MSP432 SDK and added the bluetooth plugin and it built ok and the variable is there.  The screen capture is a bit different as the Products tab is called RTSC.

    Regards,

    John

  • John,

    I appreciate the reply, and I do see that COM_TI_SIMPLELINK_MSP432_SDK_BLUETOOTH_INSTALL_DIR gets added when selecting the Bluetooth Plugin. However, why am I not able to add this manually especially since the new project is not related to the Bluetooth example?

    Also, the empty project can be found:
    SimpleLink MSP432 SK -v:1.40.00.28
    -> Examples
    -> Development Tools
    -> MSP432P401R LaunchPad - Red 2.x (Red)
    -> TI Drivers
    -> empty
    -> TI-RTOS
    -> GCC Compiler
    -> empty

    The other issue I am running into is that I can not get Resource Explorer to connect to the Cloud from within CCS 7.2, thus I can not update or install other packages to CCS 7.2 directly.

    Thanks,

    Jon
  • Jon,

    You can add the variable manually.  Not sure why you would want to if you are not using the plug-in but you can add it.

    Here I have imported the empty example and added that variable.  I set it to C:\temp so that it is clear that it is something that I set vs one that was automatically added.

    I clicked on the Add button in the dialog above

    I did this for both the CCS Compiler and GCC Compiler versions of the project.

    How are you attempting to set the variable?

    Regards,

    John

  • John,

    Thanks for the workaround. I'll have to look to see if there were any errors logged since I do not see any reason why I can not do this. If I wanted to have more control over the import of the plug-in I should be able to include what I need. Perhaps there was something set globally in the IDE or the workspace that was preventing from using an already defined value from anther project but I would have expect to see some sort of error or warning of this rather than just not adding it without any messaging.

    It seems to be working now and I was able to port it over to the GNU GCC compiler so I'm fine with it now.

    Thanks,

    Jon
  • Oh, one more thing. I was not trying to include the variable but rather manually define it as a Path Variable under Resource->Linked Resources->Path Variables since it was not included in the new Project.

    It's working as is now so I'm okay with this for the time being.
  • There are actually 2 types of variables in Eclipse. Build variables and linked resource variables. Typically you want the same variable available to both. The build variables are used in the compiler/linker options. The linked resource variables are used when you are referencing a file that you want to be part of your project but it is located outside the project directory.

    If you setup a build variable we made a change a couple years back to automatically add a matching linked resource variable. I don't believe it works the other way around.