Page 1 of 1

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

Posted: 2022年 Dec 4日 14:43
by wxq1123

背景:使用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内容

谢谢


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

Posted: 2022年 Dec 5日 10:05
by 愚者千虑必有一得

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