您好!
我们正在尝试将 BLE 和 DMM 模块添加到 ot-ti 存储库中。 为了实现内容的编译和连接、对 src / CMakeFile.txt 和 examples/apps/CLI/ CMakefile.txt 文件进行了几处更改、以包括正确的包含路径和源文件。 我们遇到了以下未定义的引用:
失败:bin/ot-cli-MTD.out
: &&/usr/local/bin/arm-none-eabi-g ++-mcpu=cortex-M33 -mfloat-abi=hard -mfp=fpv4-sp-D16 -mabi=aapcs -mapcs -fdata-sections -ffunction-sections -g -gdwarf-3 -gstrict-dwarf lib/syopentthread-cc13xx_cc26xx.a lib/libcc13xx-cc26xx-sdk.a lib/libfreertos.a lib/libcc13xx-cc26xx-cc26xx-sdk.a lib/libfreertos.a -wl /home/jmarkel/ot-ti-ble/build/bin/ot-cli-mtd.map src、
/opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:/home/jmarkel/ot-ti-ble/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source/ti/ble5stack_flash/libraries/cc1354p10_1/StackWrapper.a (gapbondmgr.o):在函数`?Mgr_Pair_ B38 '中:
C:\.Conan\1ef0eb\1\source\ti\ble5stack_flash\host\gapbondmgr.c:(.text[GAPBrecip]+0x4e Mgr_Pair):对`的引用未定义 GAP_SendSlaveSecurityRequest '
collect2:错误:LD 返回1个退出状态
Ninja:构建已停止:子命令失败。
ICall Lite 是在 src CMakefile.txt 中定义的、因此我们不明白它为什么 GAP_SendSlaveSecurityRequest() 在 icall_ble_api.h 中未解决。 但是、.map 中不存在该符号、即使在定义证明编译这行特定代码之前尝试使用#error 进行编译也是如此。
谢谢

