Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Hi Champ,
I am asking for my customer.
My customer is using CCS1210, and has installed the C2000Ware_4_02 in his PC, while doesn't have additionally install sysconfig GUI from TI website.
He tried to import the example code from “Resource Explorer” and the error message always showed gmake : *** No rule to make target ' ', needed by 'all', happening this no matter which examples were imported.
Below is the build configuration copied from Console window.
**** 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 ****
Looking deeper, the error is found out that the “driverlib.lib” does not exist as below snippet.
It seems the issue is that it couldn't find the library real location. It is quite awkward that the example is directly imported to CCS, the user doesn't modify anything.
What would the expert advise how to fix it in an efficiency way ? how to resolve that ?
Thanks and regards,
Johnny