结贴

2019-07-26 18:58发布

本帖最后由 wopt 于 2015-9-28 20:36 编辑

已转互联网...





友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
7条回答
wopt
2019-07-26 21:18
第0天、万事开头难——环境搭建

除了安装CCS5以外,接下来安装RTS和CSL库。 详细的过程参考其它帖子,至于BIOS和NDK在以后需求中在逐步安装,暂时只按照最基本的两个库。

C62x/C64x Fast Run-Time Support (RTS) Library

fastRTS_c62xc64x_1_42_Windows_Setup.rar (1.96 MB, 下载次数: 7) 2015-7-26 08:59 上传 点击文件名下载附件
rts



TMS320C6000 Chip Support Library
sprc090.zip (2.09 MB, 下载次数: 2) 2015-7-26 08:59 上传 点击文件名下载附件
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

一周热门 更多>