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.

cc2640r2f -- 关于ti_rtos之gate_swi的使用问题

Other Parts Discussed in Thread: SYSBIOS

#include <ti/sysbios/gates/GateSwi.h>

GateSwi_Handle gateQueHandle = NULL;

init………………

  //建立软中断互斥
  GateSwi_Params params;
  GateSwi_Params_init(&params);
  gateQueHandle=GateSwi_create(&params, 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使用正常