在进行DSP软件调试时,常常从其他地方拷贝程序到用户主机上运行,因此依赖项路径通常需要重新设置,CCS工程组建选项提供了这样一个窗口,用户可以指定路径。
1. Include the following files in application project that uses driver library.
$(ProjectDir)emac_dm6437 i
dkexample
etworkcfgdemoevmdm6437
evmdm6437init.c
%DVSDK_INSTALL_DIR%iosutils_1_00_00_16packages iioslog
dke
xamplescommonlogserverstacksetup.c
2. Include the following Libraries in sample project of driver.
%DVSDK_INSTALL_DIR%oardsevmdm6437_v1libevmdm6437bsl.lib
%NDK_INSTALL_DIR%packages i
dklibc64plushalhal_ser_stub.lib
%NDK_INSTALL_DIR%packages i
dklibc64plushalhal_timer_bios.lib
%NDK_INSTALL_DIR%packages i
dklibc64plusminiPrintf.lib
%NDK_INSTALL_DIR%packages i
dklibc64plus
etctrl.lib
%NDK_INSTALL_DIR%packages i
dklibc64plus
ettool.lib
%NDK_INSTALL_DIR%packages i
dklibc64plusos.lib
%NDK_INSTALL_DIR%packages i
dklibc64plusstack.lib
%NDK_INSTALL_DIR%packages i
dklibhalevmdm6437hal_eth_dm64l
c.lib
%NDK_INSTALL_DIR%packages i
dklibhalevmdm6437hal_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 i
dkinc"
-i"%NDK_INSTALL_DIR%packages i
dkexample ools"
-i"%DVSDK_INSTALL_DIR%oardsevmdm6437_v1include"
-i"%BIOSUTILS_INSTALL_DIR%packages iioslog
dk"
-i"%BIOSUTILS_INSTALL_DIR%packages iioslogsupport"
-i”%NDK_INSTALL_DIR%packages i
dkinc”
-i”%BIOS_INSTALL_DIR%packages”
-i”�S_DIR%oardsevmdm6437oardsevmdm6437_v1include”
-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 iiosutils;
%BIOSUTILS_INSTALL_DIR%packages iioslogsupport;
%BIOSUTILS_INSTALL_DIR%packages iioslog
dkexamplescommon"
"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 i
tdxlibc6000"
-i"%BIOSUTILS_INSTALL_DIR%packages iioslog
dklib"
-i"%BIOSUTILS_INSTALL_DIR%packages iioslogsupportlib"
-i"%BIOSUTILS_INSTALL_DIR%packages iiosutilslib"
Add the following paths in “Incl. Libraries(-l)” field.
-l"logsupport.a64P"
-l"logservercgi.a64P"
-l"utils.a64P"
添加路径时,需要注意对应不同的选项添加路径形式不一样,严格按照上面例子来
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>