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:引脚初始化不起作用

Guru**** 2595805 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/612577/rtos-cc2640-pin-init-not-working

器件型号:CC2640

工具/软件:TI-RTOS

您好!

我已尝试将我的项目  tirtos_simplelink_2_11_01_09迁移到  tirtos_cc13xx_cc26xx_2_21_00_06。  

一切都好。 最后、我 在许多文件中收到以下警告:

"bStatus_t (*)类型的值(uint16_t、gattAttribute_t *、uint8_t *、uint8_t *、uint16_t、 uint8_t、uint8_t)"不能用于初始化类型为"pfnGATTReadAttrCB_t"的实体 barometerservice.c /SensorTag/PROFILES 行280

然后、我忽略了该警告并运行了项目。 它没有在  Board_initGeneral()函数之后运行。

我使用打印来解决问题。 最后、它在以下函数处停止:

静态空 PIN_hwi (UArg_arg){

Swi_or (Swi_handle (&(PinSwi))、iEvent);//(此行)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我建议您在将 RTOS 更改为2.21之前、先开始使用应用程序或将其迁移到基于 BLE 2.2.1 SDK 的项目中。 此端口中可能还没有考虑到其他被忽略的参数。

    祝你一切顺利