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.

CCS/CODECOMPOSER: rf library weird inclusion error

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

hi,

i am using ccs  version: 8.2.0.00007, some of my projects are giving really weird inclusion error;

when i include RF.h everything works perfectly except for RF_Priority enum.

typedef enum {
    RF_PriorityHighest = 2, ///< Highest priority. Only use this for urgent commands.
    RF_PriorityHigh    = 1, ///< High priority. Use this for time-critical commands in synchronous protocols.
    RF_PriorityNormal  = 0, ///< Default priority. Use this in single-client applications.
} RF_Priority;

every other function and data works just fine.

edit:

      if( rfReqEvents & EVENT_RFCONTROL_ID_MBRE ) //
      {
          Mailbox_pend(mbRadio, &sRadioPacket, BIOS_NO_WAIT);
          RF_cmdPropTx.pPkt   = sRadioPacket.buffer;
          RF_cmdPropTx.pktLen = sRadioPacket.len;
//          RF_cmdPropTx.startTrigger.triggerType = TRIG_REL_START;
//          RF_cmdPropTx.startTime = RF_convertMsToRatTicks(10);
          RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropTx, RF_PriorityNormal, NULL, 0);
          RF_yield(rfHandle);
          /* Post RF transmit done Signal */
          Semaphore_post(sgnlBRfTxDone);
      }

best regards,

emre