您好,
我有两个文件名为:
a) DAB_控制器CLA1_SWC.c
b) DAB_ControllerCLA1_SWC.CLA
当我右键单击'AB_ControllerCLA1_SWC.CLA'并选择'生成所选文件'时,编译器被调用为文件a)而不是文件b)。
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 12 DAB_Appl/DAB_ControllerCLA1_swc.obj -O Building file: "../DAB_Appl/DAB_ControllerCLA1_swc.c" Invoking: C2000 Compiler "C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=5 --fp_mode=relaxed --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" : : --obj_directory="DAB_Appl" "../DAB_Appl/DAB_ControllerCLA1_swc.c" "../DAB_Appl/DAB_ControllerCLA1_swc.c", line 899: warning #770-D: conversion from pointer to smaller integer Finished building: "../DAB_Appl/DAB_ControllerCLA1_swc.c"
此外,对于'Build Project',从不为CLA文件调用编译器。
当CLA文件与CPU文件共享同一文件名正文时,似乎会出现此问题。 我想问题可能是因为编译器输出文件在两种情况下都是相同的(DAB_ControllerCLA1_SWC.obj)。