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.

Include path for TivaWare within TI-RTOS?

Hi all,

Previously we had been using StellarisWare, and we had been installing it to a known location (C:\StellarisWare) so that projects that we created using it were able to reference any include files by a static path (C:\StellarisWare\inc). 

Now that TivaWare is bundled in TI-RTOS, we'd like to use that as it's an easy way to keep everything up to date. However, we can't find an easy way to reference the include path. The app note recommendation for how to create the project doesn't bring in the "inc" directory, so we can't reference it by workspace path, and now that it's within TI-RTOS we can't hard-code the path either, as it contains the version number both of TivaWare and TI-RTOS in it (example: C:\CCS\tirtos_1_10_00_23\products\TivaWare_C_Series-1.0)

Is there any way to create an include path for TivaWare that would persist between revisions without needing modification? That seems like it would be really useful.

-Ben

  • Hi Ben,

    TI-RTOS includes TivaWare along with other products (e.g. SYS/BIOS, IPC, etc.) to make sure all the pieces have been tested against other. Having said that, you are free to install TivaWare where ever you'd like (e.g. c:\TivaWare). You'll need to change the include and libraries paths in your project accordingly. Also you'll need to change the TivaWare paths in the TI-RTOS top-level makfiels files if you plan on rebuilding the drivers from the command-line.

    Please note, if you use a different version of TivaWare, you might hit issues that are not present when using the version within your TI-RTOS installation.

    The behavior from 1.01 to 1.10 has not changed in this regard. StellarisWare was in the TI-RTOS products directory in 1.01.

    Todd

  • Hi Todd,

    I saw that you suggested the post above as an answer - I'm going to go ahead and reject that, and provide some information that my local TI support person, Henry Hendrix, has provided. He suggests:

    "We have made an effort to use system variables to define the paths for things like TivaWare.  If you look in some of the example projects within TivaWare, you’ll see that the include paths and library search paths use this format:  "${SW_ROOT}/examples/boards/ek-lm4f232".  In this way, the actual path to the latest version only has to be configured in one place.

    “SW_ROOT” is defined in the “Linked Resources” tab under the project properties: Resource->Linked Resources.  In my case it’s resolved to “C:\TI\tirtos_1_10_00_23\products\TivaWare_C_Series-1.0”. 

    So if you upgrade to a new TivaWare release, you can simply change one system variable to affect the whole project.  "

    This is much closer to what we want to do - but we would still like for TI to create these variables so that when we install new products, they automatically use the new versions of the software. We do not want to perform a separate install of TivaWare or StellarisWare, we do not want to move the product folders when we are finished installing, and we don't want to have to remember to update variables when TI could have done this for us. Requiring manual steps to perform what I would consider a basic action should not be required. 

    That said, it seems the answer to my original question is "No, there is not by default an easy or consistent way to reference the path to TivaWare upon install."

  • Sorry I misunderstood your question. I'd agree with your summary at the end. We are looking into improving this for the next release of TI-RTOS, but nothing has been formalized yet.

    Todd