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.

[参考译文] CC2651R3SIPA:简单串行套接字示例构建错误

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1512127/cc2651r3sipa-simple-serial-socket-example-build-error

器件型号:CC2651R3SIPA

工具/软件:

尊敬的专家:

我尝试使用 GIT 服务器提供的一个简单串行套接字示例。

https://github.com/TexasInstruments-Sandbox/ble_examples/tree/simplelink_cc13xx_26xx_sdk-6.40

但是、 在构建过程中会发生以下错误。  

/Application/simple_serial_socket_client.c:1181:45:错误:指向整数转换的指针不兼容、将"void *"传递到类型为'uint16_t '的参数(又名'unsigned short')[-Wint-conversion]
null)!=成功)

请提供更正错误的方法。  

谢谢

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

    您好:

    感谢您联系我们! 我认为这是由于使用了不兼容的 CCS 版本。 您当前使用的 CCS 版本是什么?

    此致、

    Tarek

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

    你好、Tarek

    我正在使用12.8.1.00005的 CCS 版本和 TI Clang v3.2.LTS 的编译器版本

    谢谢

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

    您好:

    感谢您提供! 在查看工程规范文件时、我注意到工程的依赖项之一是 TICLANG_1.3.0。 我相信使用较旧的编译器而不是新的编译器应该可以解决您的问题。

    我希望这对您有所帮助!

    此致、

    Tarek