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.

使用CC2650将sensor controller studio中代码移植进IAR时链接报错

按照

https://dev.ti.com/tirex/explore/node?node=ALHseLMe2AU6CVXj5vUO1w__pTTHBmu__LATEST

教程将sensor controller studio中的代码移植到IAR后,代码编译通过,链接时报错如下:

已经将pthread的c和h文件都放入项目中,不知道是什么地方有问题?

  • Error[Li005]: no definition for "GPIOCC26XX_config" [referenced from GPIOCC26XX.orm3(drivers_cc26xxware.arm3)]
    Error[Li005]: no definition for "_pthread_removeThreadKeys" [referenced from C:\ti\weymanfile\IARprojects\empty\Debug\Obj\pthread.o]
    图好像挂了,报错信息是这样
  • 根据错误提示,是您的GPIOCC26XX_config/_pthread_removeThreadKeys没有定义。您需要看一下GPIOCC26XX_config/_pthread_removeThreadKeys是在哪里定义的,而后将其添加到IAR的包含路径内