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.

RTOS/CC2640: PIN Init not working

Part Number: CC2640

Tool/software: TI-RTOS

Hi,

I have tried to migrate my project tirtos_simplelink_2_11_01_09 into tirtos_cc13xx_cc26xx_2_21_00_06. 

Everything was fine. Finally, I have got the following warning in many files:

a value of type "bStatus_t (*)(uint16_t, gattAttribute_t *, uint8_t *, uint8_t *, uint16_t, uint8_t, uint8_t)" cannot be used to initialize an entity of type "pfnGATTReadAttrCB_t" barometerservice.c /SensorTag/PROFILES line 280

then, I have ignored that warning and ran the project. It's not running after the Board_initGeneral() function.

I root cast the problem using print. Finally, it stoped at the following function:

static void PIN_hwi(UArg arg) {

Swi_or(Swi_handle(&(PinSwi)), iEvent); //( in this line)

}

  • Hello,

    I would suggest you start with or migrate your application to a BLE 2.2.1 SDK based project before changing the RTOS to 2.21. There are probably other overlooked parameters that haven't been accounted for in this port.

    Best wishes