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.
您好,
感谢您的提问。
您定位到报错问题的文件,在头文件中加入:#include <ti/drivers/pin.h> 。
相关SDK中已包含这些文件,示例中可能没有调用,您需要自行添加头文件(.h文件路径).
您好,
您查看一下以下路径: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。