Thread 中讨论的其他器件:SysConfig、 C2000WARE
您好 Champ、
我正在向我的客户提出要求。
我的客户正在使用 CCS1210、并 已在其 PC 中安装 C2000Ware_4_02、但没有从 TI 网站额外安装 SysConfig GUI。
他尝试 从“Resource Explorer”导入示例代码,错误消息总是显示 gmake:***没有规则使目标“”成为“全部”所需的目标“”,无论导入了哪些示例,都是如此。
下面是"Copied from Console"窗口中的构建配置。
**** Clean-only build of configuration CPU1_RAM for project sci_ex4_echoback **** "D:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "syscfg\board.h" "syscfg\pinmux.csv" "syscfg\c2000ware_libraries.cmd.genlibs" "syscfg\c2000ware_libraries.h" "sci_ex4_echoback.hex" "syscfg\board.c" "syscfg\c2000ware_libraries.opt" "syscfg\c2000ware_libraries.c" "sci_ex4_echoback.out" DEL /F "syscfg\board.obj" "syscfg\c2000ware_libraries.obj" "sci_ex4_echoback.obj" "device\device.obj" "device\f28004x_codestartbranch.obj" DEL /F "syscfg\board.d" "syscfg\c2000ware_libraries.d" "sci_ex4_echoback.d" "device\device.d" DEL /F "device\f28004x_codestartbranch.d" RMDIR /S/Q "syscfg\" Not found D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\sci_ex4_echoback.hex Not found D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\sci_ex4_echoback.out Not found D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\device\f28004x_codestartbranch.d Finished clean **** Build Finished **** **** Build of configuration CPU1_RAM for project sci_ex4_echoback **** "D:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../c2000.syscfg" Invoking: SysConfig "D:/ti/ccs1210/ccs/utils/sysconfig_1.14.0/sysconfig_cli.bat" -s "D:/ti/c2000/C2000Ware_4_02_00_00/.metadata/sdk.json" -d "F28004x" --script "D:/Projects/GUI/UART/sci_ex4_echoback/c2000.syscfg" -o "syscfg" --compiler ccs Running script... Validating... Generating Code (c2000.syscfg)... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\board.c... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\board.h... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\pinmux.csv... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\c2000ware_libraries.cmd.genlibs... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\c2000ware_libraries.opt... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\c2000ware_libraries.c... Writing D:\Projects\GUI\UART\sci_ex4_echoback\CPU1_RAM\syscfg\c2000ware_libraries.h... Finished building: "../c2000.syscfg" gmake: *** No rule to make target 'D:/Projects/driverlib/ccs/Debug/driverlib.lib', needed by 'all'. Building file: "../device/f28004x_codestartbranch.asm" Invoking: C2000 Compiler "D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="D:/Projects/GUI/UART/sci_ex4_echoback" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/device" --include_path="D:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f28004x/driverlib" --include_path="D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/f28004x_codestartbranch.d_raw" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/CPU1_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/f28004x_codestartbranch.asm" Finished building: "../device/f28004x_codestartbranch.asm" Building file: "syscfg/board.c" Invoking: C2000 Compiler "D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="D:/Projects/GUI/UART/sci_ex4_echoback" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/device" --include_path="D:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f28004x/driverlib" --include_path="D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/board.c" Finished building: "syscfg/board.c" Building file: "syscfg/c2000ware_libraries.c" Invoking: C2000 Compiler "D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="D:/Projects/GUI/UART/sci_ex4_echoback" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/device" --include_path="D:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f28004x/driverlib" --include_path="D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/c2000ware_libraries.c" Finished building: "syscfg/c2000ware_libraries.c" Building file: "../device/device.c" Invoking: C2000 Compiler "D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="D:/Projects/GUI/UART/sci_ex4_echoback" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/device" --include_path="D:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f28004x/driverlib" --include_path="D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/CPU1_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/device.c" Finished building: "../device/device.c" Building file: "../sci_ex4_echoback.c" Invoking: C2000 Compiler "D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="D:/Projects/GUI/UART/sci_ex4_echoback" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/device" --include_path="D:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f28004x/driverlib" --include_path="D:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="sci_ex4_echoback.d_raw" --include_path="D:/Projects/GUI/UART/sci_ex4_echoback/CPU1_RAM/syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "../sci_ex4_echoback.c" Finished building: "../sci_ex4_echoback.c" gmake: Target 'all' not remade because of errors. **** Build Finished ****
更深入地看,发现错误 “driverlib.lib”不存在,如下所示。

问题似乎在于它找不到库的真实位置。 将示例直接导入 CCS 非常尴尬、用户不会修改任何内容。
专家会建议如何以高效的方式解决问题? 如何解决这个问题?
谢谢、此致、
Johnny
