【已解决】tuyos sdk 编译冲突apache-mynewt-nimble-XXX
背景:使用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':
os_mempool_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
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内容
谢谢