Other Parts Discussed in Thread: CC1310
Tool/software: TI C/C++ Compiler
I can't find this “RF_EventCmdError ”where was defined at "C:\ti\simplelink_cc13x0_sdk_1_50_00_08\source\ti\drivers\rf\RF.h"
compiler error:
EasyLink.c
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 305
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 380
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 436
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 523
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 614
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 691
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 831
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 944
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 1040
Error[Pe020]: identifier "RF_EventCmdError" is undefined D:\me\code\v1.4\CC1310 FC761_SHT ZS_GRAM_Ver_V104_20161222\EasyLink.c 1204
Error while running C/C++ Compiler
Done. 10 error(s), 0 warning(s)
my EasyLink.c:
#define EASYLINK_RF_EVENT_MASK ( RF_EventLastCmdDone | RF_EventCmdError | \
RF_EventCmdAborted | RF_EventCmdStopped | RF_EventCmdCancelled )
The code I wrote now is written in 2016. I recently received the code. I don't know the previous sdk version. The compiler I use is iar for arm8.11.1, and the version of sdk is simplelink_cc13x0_sdk_1_50_00_08.