Other Parts Discussed in Thread: CC2652RB,
我有一份CC2652RB的代码,我在SDK中CC1352P7的例程中逐个加入原项目的代码,编译时程序报错,在CC2652RB的sdk中包含了PIN.h,在CC1352P7的SDK中没有包含PIN.h,请问应该如何处理,解决报错
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.
您好,
您查看一下以下路径:SDK安装的路径\products\tidrivers_cc13xx_cc26xx_2_21_01_01\packages\ti\drivers
您好,
很抱歉是我这边没有更新。PIN和GPIO驱动程序已被弃用。(The PIN and GPIO drivers will be deprecated in the 6.20 (2Q22) SDK release. New devices will only support the GPIO++ driver.)
新设备将仅支持 GPIO++ 驱动程序。您可以参考 BLE5-Stack Migration Guide中的 GPIO++ Driver Porting Guide 。您可以参考 TI Driver examples 和 TI Drivers Runtime APIs,以进一步了解如何在应用程序代码中使用TI Drivers。