TIwilliam hill官网
直播中

黑人落花无声

8年用户 10经验值
擅长:嵌入式技术 嵌入式技术
私信 关注
[问答]

请教关于在C6713中使用CLK_gethtime的问题

大家好!
    在C6713中用CCS2.20通过CLK_gethtime()测试时间,在编译中出现如下问题
     "DEC6713_GPIO.c", line 99: warning: variable "cpu_cycles" was declared but never referenced

"c:tic6000cgtoolsbincl6x" -g -q -fr"E:/DEC6713_GPIO/Debug" -i"./include" -d"CHIP_6713" -mv6710 -@"Debug.lkf" "vecs.asm"

"c:tic6000cgtoolsbincl6x" -@"Debug.lkf"

undefined                        first referenced
symbol                              in file
---------                        ----------------
_CLK_gethtime                    E:DEC6713_GPIODebugDEC6713_GPIO.obj
>>   error: symbol referencing errors - './Debug/DEC6713_GPIO.out' not built

Build Complete,
  1 Errors, 4 Warnings, 0 Remarks.

更多回帖

发帖
×
20
完善资料,
赚取积分