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.

Can't seem to create a TI-RTOS project for Tiva-C Launchpad

Other Parts Discussed in Thread: TM4C123FH6PM, SYSBIOS

I am new to Tiva-C and TI-RTOS.  I have completed the Tiva-C and TI-RTOS video training.  I am now ready to start my own project.  We are building a target board using the TM4C123FH6PM.  In the mean time, I am trying to work with the Launchpad and ICDI debugger along with a breadboard that has my application circuits on it.  My thought is that I can code and debug using the Launchpad+breadboard then move the code to the real target thus getting ahead on debugging.  My project needs I2C, SPI and all 8 comm ports of the TM4C processor.

The problem is, I created a new SysBios typical project and don't know how to add Tivaware features to the SysBios project template.  I tried including some libraries from other Tivaware projects but I get errors (e.g. #35 - This platform is not supported by TI-RTOS currently.).

What is the correct way to prepare a startup project that will let me code with the TI-RTOS and access the GPIO, I2C, SPI and COMM Ports?

I apologize if this has a clear and obvious answer, but being new to this I am missing something most likely simple.  I appreciate any help.

  • Hi Stephen,

    I always think it is best to start with one of the examples provided and then edit it to your needs. This way you can be sure that most things are setup correctly initially, then you can keep performing regular compilation to make sure you have not introduced anything.

    I'd suggest looking at the GPIO Interrupt, SPI Loopback or UART examples.

    You can find these examples by following the below steps.

    1) Make sure you have installed TI-RTOS and the latest version of CCS
    2) Select TI Resource Explorer from the View menu within CCS
    3) Select TI-RTOS  from the Packages drop down 
    4) Expand ARM - Expand Tiva C Series - Expand Tiva TM4C123GH6PM - Expand Example Projects
    5)  Select the example you would like to use or review
    6)  Follow the 4 steps present to install and build the example

    Glenn.

  • Hi Stephen,

    TI-RTOS does ship with Empty example project which allow you start your application from scratch.  These can be found in the new project wizard:

    File -> New -> CCS Project

    The following window should appear:

    Empty projects are provided as "regular" and "minimal".  Both are the same with the exception that the Minimal project's .cfg file has been modified to reduce overall footprint.  Several features are disabled (logging, assertion checking, Idle Task, etc).  Please check out the readme file of whichever configuration you select for more details.

    Hope this helps,

    -- Emmanuel

  • Hi Stephen,

    The post above is based of the latest release of TI-RTOS (1.21.00.09).  The TI-RTOS page is still pointing to the previous release (1.20.00) and we are working on updating it to show the new version.  In the meantime it can be downloaded here: 

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/index.html

    Regards,

    -- Emmanuel