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.

C and Math Libraries for C2000

Maybe I'm being dense, but while there is all this documentation about motor control and all kinds of things I can do with a C2000 based processor, I can't seem to find the basics.

I am looking for a basic set of documentation that has the prototypes and the libraries that need to be linked for various standard C functions, especially math functions.  

I've been through the wiki and done lots of searches, and I can't seem to find the core documentation, does it exist?

Thanks

Kevin

  • The C2000 compiler manual can be accessed here (HTML) and here (PDF).  But even in that manual, you will not find detailed documentation on any standard RTS function.  That is because those functions are specified by the ANSI standards for C and C++.  As such, they are documented in any number of books, tutorials, videos, and the like.  Use your favorite one.

    Thanks and regards,

    -George

  • All of the standard C functions, including the math functions, are included in one library for TI toolsets. You should link against libc.a to let the compiler pick the version of the library build for the appropriate memory model for your program.