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.

CCS Runtime Support Libs

Other Parts Discussed in Thread: TMS320F28335, TMS570LS3137

We are using a TMS570LS3137 and a TMS320F28335 for a DO-178C Level A avionics project. It looks like there are some runtime support libs that are built into our project in CCS, specifically 'rts2800_ml.lib' and 'rtsv7R4_T_be_v3D16_eabi.lib'.
Since the project must go through the FAA's certification process, we must be sure not to include any executable code which is not executed or is not fully verifiable.
What function do the libraries provide and can we exclude them?

If we cannot exclude them, is it possible to get the source code for the libraries?

What are the implications of not including the runtime support libraries?

  • Hello Jeremy,

    For my ccsv6.01 installation, the runtime support library source code is in a zip file called rtssrc.zip located in C:\ti\ccsv6.01\ccsv6\tools\compiler\c2000_6.2.10\lib. The file name and basic path to it should be very similar in you CCS installation.

    Also, see the run-time support library section of http://processors.wiki.ti.com/index.php/C28x_Code_Generation_Tips_and_Tricks.

    Stephen
  • I forgot to answer your last question, i.e. "What are the implications of not including the runtime support libraries?"

    I might be wrong, but if your not using any of the following:
    ANSI/ISO C/C++ standard library
    C I/O library
    Low-level support functions that provide I/O to the host operating system

    Then you should be able to exclude it by not selecting a Runtime support library in the General section of the project properties. I built a project without runtime support and it still includes the _c_int00.

    Also, you can create a map file (specify in the project properties basic options) which contains all of the function and variable mapping to memory. That will show you what program and functions are in your program.
  • I was mistaken. Selecting "none" for Runtime support library doesn't exclude the Runtime support library. You'll have to remove the RTS directory from the project properties C2000 Linker-> File Serarch Path.

    I was able to get a simple project to build by just including the following RTS files in an CCS project (that includes main.c):
    _lock.c
    _lock.h
    args_main.c
    boot.asm
    boot28.inc
    c2000asm.inc
    cargs.h
    exit.c