【已解决】tuyos sdk 编译冲突apache-mynewt-nimble-XXX

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
wxq1123
Posts: 108
Location: 深圳市水世界有限公司

背景:使用tuyaos sdk 3.5.1,在sv32wb01芯片移植
问题:编译冲突,libtuyaos.a中有打包apache-mynewt-nimble-1.2.0内容,和sv32wb01中冲突,
/home/iot/wangxiqian/SSV.tiramisu.sv32wb0x.20Q2.2141.01.07R/projects/ble_mesh/out/components/third_party/apache-mynewt-nimble-1.2.0/libcondor_mesh_ble.a(os_mempool.o): In function os_mempool_ext_init':
/home/iot/wangxiqian/SSV.tiramisu.sv32wb0x.20Q2.2141.01.07R/components/third_party/apache-mynewt-nimble-1.2.0/porting/nimble/src/os_mempool.c:73: multiple definition of
os_mempool_init'
components/third_party/tuyaos/tuyaos_adapter/libs/libtuyaos.a(tuya_ble_mempool.c.o):/root/workspace_temp/cde/ci_iotsdk_group/tuyaos-iot/components/tal_bluetooth/src/ble_stack_tuya/host/tuya_ble_mempool.c:275: first defined here
/opt/Andestech/BSPv420/toolchains/nds32le-elf-mculib-v3s/bin/../lib/gcc/nds32le-elf/4.9.4/../../../../nds32le-elf/bin/ld: Disabling relaxation: it will not work with multiple definitions
期望:取消libtuyaos.a对apache-mynewt-nimble-1.2.0的定义,使用原厂的apache-mynewt-nimble-1.2.0内容

谢谢

Attachments
log.log
(403.69 KiB) Downloaded 204 times
愚者千虑必有一得
Posts: 510

Re: tuyos sdk 编译冲突apache-mynewt-nimble-XXX

好的,我看下配置,是不是使用了涂鸦的蓝牙协议。,如果有问题我给你更新一个版本。

Post Reply