#include <ti/sysbios/gates/GateSwi.h>
GateSwi_Handle gateQueHandle = NULL;
init………………
//建立软中断互斥
GateSwi_Params params;
GateSwi_Params_init(¶ms);
gateQueHandle=GateSwi_create(¶ms, NULL);
if (gateQueHandle == NULL)
{
while(1);
}
编译错误如下:
Error[Li005]: no definition for "ti_sysbios_gates_GateSwi_Params__init__S" [referenced from C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\
Error[Li005]: no definition for "ti_sysbios_gates_GateSwi_create" [referenced from C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\
显示没有定义!
库版本 simplelink_cc2640r2_sdk_1_40_00_45、ble5.0库
请教各位老师还需要什么额外配置才能使用gate_swi么?
gate_mutex使用正常