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.

CC2564C: Bluetooth stack Linux add-on compiling issue

Part Number: CC2564C

Hi Team,

My customer is using CC2564C with Linux, they encounter some compiling issues while using Linux add-on from ti.com, version v4.2.1.1.1.0.

They are using  BTS file cc256xc_bt_sp_v1.4, and also BLE add-on.

Need your help, thanks.

The error info shows below:

nshao@TMO_Env:/nshao_repo/tmo/AM335xBluetopiaLinuxProduction-4.2.1.1.1.0/build$ make all

CC_S BTPMSRVR.c -o BTPMSRVR_S.o

LN BTPMSRVR_S.o libBTPM_S.a libBTPM_HAL_S.a libSS1BTAUD.a libSS1BTGAV.a libSS1BTAVC.a libSS1BTAVR.a libSS1SBC.a libSS1BTFTP.a libSS1BTHDP.a libSS1BTHDS.a libSS1BTHIDH.a libSS1BTHID.a libSS1BTPAN.a libBTPS_VNET.a libSS1BTPBA.a libSS1BTHFR.a libSS1BTMAP.a libSS1BTOPP.a libSS1BTCTS.a libSS1BTNDCS.a libSS1BTRTUS.a libSS1BTDIS.a libSS1BTGAT.a libSS1BTGAPS.a libSS1BTCSCS.a libSS1BTHIDS.a libSS1BTNDC.a libSS1BTRTU.a libSS1BTIAS.a libSS1BTHRS.a libSS1BTSCP.a libSS1BTLLS.a libSS1BTBAS.a libSS1BTTPS.a libBTPS.a libBTPS_PLA.a libBTPS_OSA.a -o SS1BTPM

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: error: ../BluetopiaPM/lib/libBTPM_S.a(BTPMMAIN_S.o) uses VFP register arguments, ../BluetopiaPM/bin/SS1BTPM does not

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: failed to merge target specific data of file ../BluetopiaPM/lib/libBTPM_S.a(BTPMMAIN_S.o)

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: error: ../BluetopiaPM/lib/libBTPM_S.a(BTPMDEVM_S.o) uses VFP register arguments, ../BluetopiaPM/bin/SS1BTPM does not

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: failed to merge target specific data of file ../BluetopiaPM/lib/libBTPM_S.a(BTPMDEVM_S.o)

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: error: ../BluetopiaPM/lib/libBTPM_S.a(DEVMGR_S.o) uses VFP register arguments, ../BluetopiaPM/bin/SS1BTPM does not

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: failed to merge target specific data of file ../BluetopiaPM/lib/libBTPM_S.a(DEVMGR_S.o)

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: error: ../BluetopiaPM/lib/libBTPM_S.a(DEVMUTIL_S.o) uses VFP register arguments, ../BluetopiaPM/bin/SS1BTPM does not

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: failed to merge target specific data of file ../BluetopiaPM/lib/libBTPM_S.a(DEVMUTIL_S.o)

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: error: ../BluetopiaPM/lib/libBTPM_S.a(BTPMSCOM_S.o) uses VFP register arguments, ../BluetopiaPM/bin/SS1BTPM does not

/nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: failed to merge target specific data of file ../BluetopiaPM/lib/libBTPM_S.a(BTPMSCOM_S.o)

  • Hi, guys

    My requirement is very simple - to use SPP over BLE, can run LinuxSPPLE sample, no AUD, no HID ...

    So I tried to dig more about TI Bluetooth add-on. I found in proj/platform.mak, Platform manager must be enable for SPPLE

    ifeq ($(PLATFORM_MANAGER),y)
    PM_SAMPLES = LinuxAUDM LinuxDEVM LinuxHDPM LinuxHDPM_11073 LinuxVoLE
    PM_SAMPLES += LinuxHIDM LinuxHRPM LinuxOPPM LinuxPBAM LinuxSPPLE_PM

    My question is can I build LinuxSPPLE in Bluetopia without PlatformManager and unused service eg. AUD/HID...?

    PS: When I tried to compile with PlatformManager, I get following error

    LN BTPMSRVR_S.o libBTPM_S.a libBTPM_HAL_S.a libSS1BTAUD.a libSS1BTGAV.a libSS1BTAVC.a libSS1BTAVR.a libSS1SBC.a libSS1BTFTP.a libSS1BTHDP.a libSS1BTHDS.a libSS1BTHIDH.a libSS1BTHID.a libSS1BTPBA.a libSS1BTHFR.a libSS1BTMAP.a libSS1BTOPP.a libSS1BTCTS.a libSS1BTNDCS.a libSS1BTRTUS.a libSS1BTDIS.a libSS1BTGAT.a libSS1BTGAPS.a libSS1BTCSCS.a libSS1BTHIDS.a libSS1BTNDC.a libSS1BTRTU.a libSS1BTIAS.a libSS1BTHRS.a libSS1BTSCP.a libSS1BTLLS.a libSS1BTBAS.a libSS1BTTPS.a libBTPS.a libBTPS_PLA.a libBTPS_OSA.a -o SS1BTPM
    /nshao_repo/tmo/HB_Tools/32/toolchain/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/5.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lasound
    collect2: error: ld returned 1 exit status
    make: *** [../BluetopiaPM/bin/SS1BTPM] Error 1

    br

    Shao nna

  • Do, you mean building just one profile based application, without BluetopiaPM, Platform manager support? 

  • yes, please let me know what should I do?