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.

[参考译文] CC2640R2F:CC2640R2简单外设代码不编译

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1455322/cc2640r2f-cc2640r2-simple-peripheral-code-not-compiling

器件型号:CC2640R2F

工具与软件:

错误#10008-D:找不到文件"C:/Users/ANJANA dva/workspace_v9/ble5_simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols"
错误#10008-D:找不到文件"C:/Users/ANJANA dva/workspace_v9/ble5_simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd"
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第254行:错误#10263:已经指定了闪存范围
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第254行:错误#10264:闪存范围与现有存储器范围闪存重叠
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第257行:错误#10264:flash_last_page 存储器范围与现有存储器范围闪存重叠
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第260行:错误#10263:已指定 SRAM 存储器范围
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第260行:错误#10264:SRAM 存储器范围与现有存储器范围 SRAM 重叠
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第206行:警告#10190-D:正在重新定义绝对符号"_STACK_TOP"
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第206行:警告#10190-D:正在重新定义绝对符号"_STACK_TOP"
"C:/ti/simplelink_cc2640r2_sdk_5_30_01_11/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd、第206行:警告#10190-D:正在重新定义绝对符号"_STACK_TOP"

错误#10234-D:未解析的符号仍存在

错误#10010:链接期间遇到错误;未构建"ble5_simple_peripheral_cc2640r2lp_app.out"
>>编译失败
Makefile:191:目标"ble5_simple_peripheral_cc2640r2lp_app.out"的配方失败
gmake[1]:***[ble5_simple_peripheral_cc2640r2lp_app.out]错误1.
gmake:***[All]错误2.
Makefile:184:目标"全部"的配方失败

为什么我在使用 CCS 9版本和 SDK 5_30版本时遇到该错误、我使用的是简单的外设代码  

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

    您好!

    请确保您的工具版本与发行说明中列出的依赖项匹配:

    此外、请确保在编译应用项目之前先编译 stack_library 项目。

    此致、

    1月