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.

[参考译文] CC2340R5:在将现有代码迁移到最新 SDK 时遇到问题

Guru**** 2589280 points
Other Parts Discussed in Thread: CC2340R5, SYSCONFIG

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1372394/cc2340r5-facing-problem-while-migrating-my-existing-code-to-latest-sdk

器件型号:CC2340R5
主题中讨论的其他器件: SysConfig

工具与软件:

我已经在7.20.0.29上实现了与 OAD_ONCHIP 示例相关 的特性、现在需要实现扩展广播、因此我已经 将 SDK 更改为8.10.0.55、但在这里、我在编译代码时遇到了一些问题。

1.我已经针对现有代码升级了 SDK、并根据版本说明更改了配置和编译器版本。 但仍然会遇到链接问题。

错误如下


生成文件:"c:/ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/icall/app/icall_api_lite.c "
调用:ARM 编译器
"c:/ti/ccs1270/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe @/ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/third_party/mcuboot/boot/bootutil/include -c @"D:/TI_BLE_Project/based_ble_oad_onchip_LP_EM_CC2340R5_freertos_ticlang/Release/syscfg/ti_ble_app_config.opt"@@"D /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/config/build_components.opt:/TI_thumb_Project/based_ble_onchip /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/config/factory_config.opt /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/third_party/mcuboot/boot/ti/source/mcuboot_app /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/common/cc26xx/flash_interface /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/drivers/nvs /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/devices/cc23x0r5/driverlib /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/controller/cc26xx/inc /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/inc /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/rom /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/common/cc26xx /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/icall/inc /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/hal src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/common/cc26xx/npi/stack /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/hal src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/heapmgr /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/profiles/dev_info /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/profiles/simple_profile /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/icall src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/npi src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/osal src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/services src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/services src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/common/nv /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/common/cc26xx /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/icall src /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/devices/cc23x0r5 /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/devices/cc23x0r5/settings /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/drivers/rcl /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/boards/cc23x0r5 /ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/posix/ticlang /ti/FreeRTOSv202104.00/FreeRTOS/Source/include /ti/FreeRTOSv202104.00/FreeRTOS/Source/portable/GCC/ARM_CM0 /ti/simplelink_lowpower_f3_sdk_8_10_01_02/kernel/freertos @/ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/icall/app/icall_api_lite.c
common/iCallBLE/subdir_rules.mk:目标"common/iCallBLE/iCall_api_lite.o"的配方失败
tiarmclang:错误:没有这样的文件或目录:"@D:/TI_BLE_Project/based_ble_oad_onchip_lp_EM_CC2340R5_freertos_ticlang/Release/syscfg/ti_ble_app_config.opt"
tiarmclang:错误:没有这样的文件或目录:"@D:/TI_BLE_Project/based_ble_oad_onchip_LP_EM_CC2340R5_freertos_ticlang/Release/syscfg/ti_build_config.opt"
gmake:***[common/iCallBLE/iCall_api_lite.o]错误1
gmake:由于错误、未重制目标"all"。

****构建完成****

2.使用现有代码从一个 SDK 移到另一个 SDK 的正确方法是什么。

3.下图中突出显示了这些宏的定义位置

我已尝试搜索 HOST_CONFIG、但没有找到任何定义。