1. First you have to specify to the linker to link the FastRTS Library
into your application. You do this by going to
"Project->Options->Linker->Include Libraries" and then specify the
FastRTS Library, fastrts62x64x.lib.
2. For each of your C files that you plan to use an DSP Library
kernel in, you must include the appropriate header file for each
kernel. For instance, to use the kernel "_mpyf()", you must
#include <fastrts62x64x.h> in that file.
3. Now you may use the FastRTS Library API at will.
-----------------------------------------------------
Using the FastRTS Library with the Command Line Tools
1. You have to tell the linker to link your application with the
DSP library. You can do this by using the linker -l option in
your linker command file or at the linker command line, i.e
-lfastrts62x64x.lib
2. For each of your C files that you plan to use an DSP Library
kernel in, you must include the appropriate header file for each
kernel. For instance, to use the kernel "_mpyf()", you must
#include <fastrts62x64x.h> in that file.
--------------------------------------------------------------------------------
How do I Re-Build the Library?
All of the FastRTS Library source code is archived in the file fastrts62x64.src
located in the LIB folder. This source archive may be rebuilt using
mk6x as follows:
除了安装CCS5以外,接下来安装RTS和CSL库。 详细的过程参考其它帖子,至于BIOS和NDK在以后需求中在逐步安装,暂时只按照最基本的两个库。
C62x/C64x Fast Run-Time Support (RTS) Library
rts
TMS320C6000 Chip Support Library
csl
值得参考的是RTS安装完以后,查看它的说明,其中重要的部分如下(使用说明)。
Using the FastRTS Library in Code Composer Studio
1. First you have to specify to the linker to link the FastRTS Library
into your application. You do this by going to
"Project->Options->Linker->Include Libraries" and then specify the
FastRTS Library, fastrts62x64x.lib.
2. For each of your C files that you plan to use an DSP Library
kernel in, you must include the appropriate header file for each
kernel. For instance, to use the kernel "_mpyf()", you must
#include <fastrts62x64x.h> in that file.
3. Now you may use the FastRTS Library API at will.
-----------------------------------------------------
Using the FastRTS Library with the Command Line Tools
1. You have to tell the linker to link your application with the
DSP library. You can do this by using the linker -l option in
your linker command file or at the linker command line, i.e
-lfastrts62x64x.lib
2. For each of your C files that you plan to use an DSP Library
kernel in, you must include the appropriate header file for each
kernel. For instance, to use the kernel "_mpyf()", you must
#include <fastrts62x64x.h> in that file.
--------------------------------------------------------------------------------
How do I Re-Build the Library?
All of the FastRTS Library source code is archived in the file fastrts62x64.src
located in the LIB folder. This source archive may be rebuilt using
mk6x as follows:
mk6x fastrts62x64x.src -l fastrts62x.lib
mk6x fastrts62x64x.src -me -l fastrts62xe.lib
mk6x fastrts62x64x.src -l fastrts64x.lib
mk6x fastrts62x64x.src -me -l fastrts64xe.lib
一周热门 更多>