Hello,
where can I find which C/C++ comands I can use in CCS?
Is there a library or I'm on the wrong way?
Can I use the command cout?
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.
Please see the wiki article http://processors.wiki.ti.com/index.php/Overview_of_C%2B%2B_Support_in_TI_Compilers . -George
Hi,
Once I saw a topic in the forum that talked about that, but I just can't found it anymore.
But see what TI says about standard C functions (http://www.ti.com/lit/an/sprabf2/sprabf2.pdf , pg 23)
"NOTE: Many standard C functions such as standard input/output (I/O) functions and math
operations, even though handy, can negatively impact performance, especially when used in
loops. For example, a printf function can take several hundred cycles to complete. Therefore,
standard I/O functions should be avoided as much as possible, especially from loops. When
DSP/BIOS is used, use LOG_printf instead when this functionality is absolutely needed.
When math or other functions are needed, use the APIs provided in the C6000 DSP library
(if available) instead of the one supported by the standard C library."
And specifically about C's printf you can see this wiki http://processors.wiki.ti.com/index.php/Tips_for_using_printf
Hope it helps.