This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
亲爱的香榭丽舍大街,
我在 CCS12.4中导入项目:
C:\ti\c2000\C2000Ware_5_01_00_00\device_support\f2837xs+示例\cpu1\F2837xS_sci_flash_kernel
并显示以下错误、某些文件在导入时似乎会丢失。
当我手动添加所有显示错误的文件时、显示其他源文件仍然缺失。
您能帮助您查看一下吗? 谢谢!
此致、
朱莉娅
尊敬的 Julia:
对于我来说、导入和编译支持 CCS12.4、见下方屏幕截图。
您能否尝试删除工程并重新导入它、或者检查 C2000ware 是否安装正确并告诉我?
谢谢。此致、
拉杰什怀特
您好、Rajeshwarm:
我使用不同版本的 C2000ware、错误是相同的。
C2000ware 5_01_00
C2000ware 5_00_00
C2000ware 4_03_00
使用 CCS11.0和 C2000ware 4_01_00并且错误相同。
控制台窗口显示:
**** Build of configuration CPU1_RAM for project F2837xS_sci_flash_kernel **** "C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k all Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_DefaultISR.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_DefaultISR.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_DefaultISR.c" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_DefaultISR.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/source/F2837xS_GlobalVariableDefs.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_GlobalVariableDefs.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/source/F2837xS_GlobalVariableDefs.c" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/source/F2837xS_GlobalVariableDefs.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_Gpio.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_Gpio.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_Gpio.c" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_Gpio.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieCtrl.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_PieCtrl.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieCtrl.c" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieCtrl.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieVect.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_PieVect.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieVect.c" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieVect.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_SysCtrl.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c", line 984 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division. Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel/cpu01/F2837xS_sci_flash_kernel.c" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_sci_flash_kernel.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel/cpu01/F2837xS_sci_flash_kernel.c" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel/cpu01/F2837xS_sci_flash_kernel.c" Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_usDelay.asm" Invoking: C2000 Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_usDelay.d_raw" "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_usDelay.asm" Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_usDelay.asm" gmake: *** No rule to make target 'C:/ti/1240C2K/Fapi_UserDefinedFunctions.c', needed by 'Fapi_UserDefinedFunctions.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/SCI_Boot.c', needed by 'SCI_Boot.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/SCI_GetFunction.c', needed by 'SCI_GetFunction.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/Shared_Boot.c', needed by 'Shared_Boot.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/Shared_Erase.c', needed by 'Shared_Erase.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/Shared_Verify.c', needed by 'Shared_Verify.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/fwupgradec1toc2_start.asm', needed by 'fwupgradec1toc2_start.obj'. gmake: *** No rule to make target 'C:/ti/1240C2K/flash_programming_RAM.cmd', needed by 'F2837xS_sci_flash_kernel.out'. gmake: *** No rule to make target 'C:/ti/1240C2K/c1bootROM_BootROMSymbols_fpu32.lib', needed by 'F2837xS_sci_flash_kernel.out'. gmake: Target 'all' not remade because of errors. **** Build Finished ****
此致、
朱莉娅
尊敬的 Julia:
对于给您带来的不便、很抱歉、我能够重现此问题。
问题在我们将 C2000ware 项目复制到工作区时存在、文件 路径未得到解决、如屏幕截图所示、导致构建失败。
要解决该问题,请转至 properties->Resource->Linked Resource 并按如下所示编辑路径,方法是将"${parent-1-project_LOC}"替换为"original_project_root\..",这将解决文件路径错误,从而导致生成错误。
我已经突出显示了该问题、也将在 C2000ware 中解决该问题。
谢谢。此致、
拉杰什怀特
您好、 Rajeshwarm:
感谢您的确认!