编译源代码时出现以下错误。
我正在使用其中一个示例代码 CC2340 SDK 7.20的编辑代码。
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.
您好!
我可否请您确认您当前使用的 CCS 版本?
请确保您正在使用 SDK 发行说明中提到的 CCS 版本 (使用 SDK 7.20.01.10时建议使用 CCS 版本12.4)。
此致、
是的、我使用的是 CCS 版本12.4.0。
您好!
感谢您的验证。
下一步是确保已为 CC23xx 启用 CCS 支持。 为此、我建议单击 Help > Install Device Support...
然后、确保选择了"Support for SimpleLink CC13xx、CC26xx and CC23xx Wireless MCUs":
总的来说、快速入门指南中描述了这些工具的设置: https://software-dl.ti.com/simplelink/esd/simplelink_lowpower_f3_sdk/7.20.00.29/exports/docs/ble5stack/ble_user_guide/html/quickstart-guide/quickstart-intro-cc23xx.html#ccs-download-and-installation
我希望这将有所帮助、
此致、
最后但同样重要的是、您缺少的文件应位于 C:\ti\ccs1240\ccs_base\common\targetdb\devices\cc2340r5.xml 中
感谢您的答复。 问题已解决。