打印

CCS中给工程添加用户路径

[复制链接]
862|7
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
tianli1980|  楼主 | 2014-11-21 15:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
ccs, TI, NDK, ST, IO
在进行DSP软件调试时,常常从其他地方拷贝程序到用户主机上运行,因此依赖项路径通常需要重新设置,CCS工程组建选项提供了这样一个窗口,用户可以指定路径。


1. Include the following files in application project that uses driver library.
 $(ProjectDir)\emac_dm6437\ti\ndk\example\network\cfgdemo\evmdm6437\
evmdm6437init.c
 %DVSDK_INSTALL_DIR%\biosutils_1_00_00_16\packages\ti\bios\log\ndk\e
xamples\common\logserverstacksetup.c
2. Include the following Libraries in sample project of driver.
 %DVSDK_INSTALL_DIR%\boards\evmdm6437_v1\lib\evmdm6437bsl.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\hal\hal_ser_stub.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\hal\hal_timer_bios.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\miniPrintf.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\netctrl.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\nettool.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\os.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\c64plus\stack.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\hal\evmdm6437\hal_eth_dm64l
c.lib
 %NDK_INSTALL_DIR%\packages\ti\ndk\lib\hal\evmdm6437\hal_userled_dm
6437.lib


Include paths:
Open Build options of sample project. Go to “Compiler” tab. Select the
“Preprocessor” category. Add the following paths in “include search path(-i
field.
-i"%NDK_INSTALL_DIR%\packages\ti\ndk\inc"
-i"%NDK_INSTALL_DIR%\packages\ti\ndk\example\tools"
-i"%DVSDK_INSTALL_DIR%\boards\evmdm6437_v1\include"
-i"%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\log\ndk"
-i"%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\log\support"
-i”%NDK_INSTALL_DIR%\packages\ti\ndk\inc”
-i”%BIOS_INSTALL_DIR%\packages”
-i”�S_DIR%\boards\evmdm6437\boards\evmdm6437_v1\include”
-i”%BIOSUTILS_INSTALL_DIR%\packages”

"DspBiosBuilder" Settings(导入路径之间用分号隔开)
Open Build options of sample project. Go to “DspBiosBuilder” tab. Select the
“Basic” category. Add the following paths in “import path” field.
%NDK_INSTALL_DIR%/packages/ti/ndk/inc/tci;
%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\utils;
%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\log\support;
%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\log\ndk\examples\common"

"Linker" Settings:(每个路径必须用-i选项标示,路径用双引号括起来,多个路径之间不需要分号)
Open Build options of sample project. Go to “Linker” tab. Select the “Library”
category. Add the following paths in “Search Path(-i)” field.
-i"%BIOS_INSTALL_DIR%\packages\ti\rtdx\lib\c6000"
-i"%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\log\ndk\lib"
-i"%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\log\support\lib"
-i"%BIOSUTILS_INSTALL_DIR%\packages\ti\bios\utils\lib"


Add the following paths in “Incl. Libraries(-l)” field.
-l"logsupport.a64P"
-l"logservercgi.a64P"
-l"utils.a64P"

添加路径时,需要注意对应不同的选项添加路径形式不一样,严格按照上面例子来

相关帖子

沙发
zhangmangui| | 2014-11-21 22:35 | 只看该作者
需要验证一下

使用特权

评论回复
板凳
vivilzb1985| | 2014-11-23 20:54 | 只看该作者
这个跟iar便以软件的相似的吧。

使用特权

评论回复
地板
angerbird| | 2014-11-23 22:13 | 只看该作者
这个大部分的编译软件的都相似吧。

使用特权

评论回复
5
jxmzzr| | 2014-11-24 15:04 | 只看该作者
CCS工程中include文件包含路径配置 .

使用特权

评论回复
6
smilingangel| | 2014-11-24 17:16 | 只看该作者
跟着学习下的啦,,这个介绍的还是很不错的。

使用特权

评论回复
7
elecintop| | 2014-11-30 13:18 | 只看该作者
:handshake

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

482

主题

2214

帖子

11

粉丝