TI中文支持网
TI专业的中文技术问题搜集分享网站

CCS8.0.0编译报错

CCS8.0.0,在协议栈中OSAL_CBTIMER_NUM_TASKS=1,把1改为2重新编译协议栈。然后在重新编译APP代码就出错了。请问这是什么错误啊,要怎么解决

Butterfly:

看下面OSAL_CBTIMER_NUM_TASKS说明,为什么要改成2?
OSAL_CBTIMER_NUM_TASKS – This symbol defines the number of OSAL callback timers that you
can use. The BLE protocol stack uses the OSAL callback timer. You must define this value as either 1
or 2 (a maximum of two callback timers are allowed). For applications without any callback timers such
as the sample application, define this value as 1.

Viki Shi:

OSAL_CBTIMER_NUM_TASKS =2可以处理更多回调事件,例程有默认1的也有默认2的,一般不建议修改预定义

赞(0)
未经允许不得转载:TI中文支持网 » CCS8.0.0编译报错
分享到: 更多 (0)