(CCS V10.1)想导入F:\ti\pdk_c667x_2_0_16\packages\ti\transport\ndk\nimu\example 里边的例子,但是导入的时候没有文件可以选择,于是我翻文件翻到
F:\ti\pdk_c667x_2_0_16\packages\ti\transport\ndk\nimu\example\helloWorld\c6678\c66\bios 这个文件夹,里边有个NIMU_emacExample_EVMC6678C66BiosExampleProject.txt文件,打开看全是 ccs.linkFile命令(貌似还有设置编译器选项的命令) :
-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/HelloWorld/src/helloWorld.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/HelloWorld/src/nimu_osal.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/HelloWorld/src/nimu_cppi_qmss_iface.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/HelloWorld/src/nimu_pa_iface.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/HelloWorld/src/udpHello.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/HelloWorld/src/setuprm.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/device/c6678/policy_dsp-only.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/drv/rm/device/c6678/global-resource-list.c"-ccs.linkFile "PDK_INSTALL_PATH/ti/transport/ndk/nimu/example/helloWorld/c6678/c66/bios/helloWorld.cfg"-ccs.setCompilerOptions "-D -mv64+ -g -DSOC_C6678 -DDEVICE_C6678 -DUSE_BIOS –diag_warning=225 –diag_warning=994 –diag_warning=262 –diag_suppress=1111 –diag_suppress=827 –diag_suppress=824 –diag_suppress=837 –diag_suppress=1037 –diag_suppress=195 –diag_suppress=77 –diag_suppress=232 -I${PDK_INSTALL_PATH}/ti/transport/ndk/nimu -I${PDK_INSTALL_PATH} -I{NDK_INSTALL_DIR}/packages " -rtsc.enableRtsc
-rtsc.setConfiguroOptions "–xdcpath=${BIOS_CG_ROOT}/packages/ti/posix/ccs"
这文件作用是啥,这可是TXT文件啊?我可以拿这个文件直接用在工程里吗? 反正是导不进去,不知道怎么把这个例子做成一个工程。
Nancy Wang:
参考以下链接编译生成例程。
software-dl.ti.com/…/index_overview.html
software-dl.ti.com/…/index_Foundational_Components.html
例程生成路径:ti-processor-sdk-rtos-c667x-evm\pdk_c667x_2_0_16\packages\MyExampleProjects
Shine:
新版本的processor SDK里的例程是要自己执行命令生成的。请参考下面的网站说明。如果SDK, ccs不是安装在默认路径,还要参考CCS in Custom Path and SDK RTOS in Default Path和CCS and PDK in Custom Pathhttps://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_how_to_guides.html#update-environment-when-installing-to-a-custom-pathprocessors.wiki.ti.com/…/Rebuilding_The_PDK