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.

errors compiling Blutopia Blutooth stack demos on MSP-EXP430F5438 + PAN1323ETU

Other Parts Discussed in Thread: MSP430F5438A

Hi,

I am trying to compile and port the HFP demo onto the MSP-EXP430F5438 +  PAN1323ETU boards. I receive the following error:   

I believe the issue is an incompatible libmath.a ? how can I fix this?

I use the trial version of CCS 6 and have installed the MSP430 add-ins. The compiler version is TI v4.4.2 running COFF output format. Run-time support library is set to automatic. I have attached the list of the includes.

If I switch my compiler to eaib (ELF), I receive the following error (this happens even when I add an explicit "C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.5 R2\MSP430_Experimentor\Bluetopia\lib\CCS\DefaultMTU\eabi" to the include files ):

**** Build of configuration Debug - MSP430F5438A Exp for project HFPDemo ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTPSKRNL.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTPSVEND.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c"
"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c", line 149: warning #225-D: function "_data20_read_char" declared implicitly
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTVS.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c"
"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 169: warning #188-D: pointless comparison of unsigned integer with zero
"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 431: warning #188-D: pointless comparison of unsigned integer with zero
"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 645: warning #188-D: pointless comparison of unsigned integer with zero
"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 645: warning #188-D: pointless comparison of unsigned integer with zero
"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 731: warning #188-D: pointless comparison of unsigned integer with zero
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs/BTVS.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="HCITRANS.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="HFPDemo.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo/Main.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="Main.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo/Main.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo/Main.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/pre_init.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="pre_init.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/pre_init.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/pre_init.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="sprintf.pp" "C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c'
' '
'Building file: C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Samples/HFPDemo" --include_path="C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="MSP430_EXP5438/HAL.pp" --obj_directory="MSP430_EXP5438" "C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c"
'Finished building: C:/Ti Bluetooth project/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c'
' '
'Building target: HFPDemo.out'
'Invoking: MSP430 Linker'
"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=eabi --code_model=large --data_model=small --use_hw_mpy=F5 -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"HFPDemo.map" --heap_size=0 --stack_size=1200 --cinit_hold_wdt=on -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/lib" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" -i"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -i"C:/Ti Bluetooth project/MSP430_Experimentor/Bluetopia/profiles/HFP/lib/CCS/coffabi" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --xml_link_info="HFPDemo_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "HFPDemo.out" "./BTPSKRNL.obj" "./BTPSVEND.obj" "./BTVS.obj" "./HCITRANS.obj" "./HFPDemo.obj" "./Main.obj" "./pre_init.obj" "./sprintf.obj" "./MSP430_EXP5438/HAL.obj" "../lnk_msp430f5438a.cmd" -l"libc.a" -l"libBluetopia_SCO.a" -llibSS1BTHFP.a -l"libmath.a"
<Linking>
"../lnk_msp430f5438a.cmd", line 127: warning #10424-D: Linker command file has
no sections of type=VECT_INIT, but does contain .intXX sections. This file
may be out of date. Generating interrupt pointers for all .intXX sections.
The default handler provided in the RTS will be used if no other handler is
found. It is recommend that you update your linker command file to the
latest version.
fatal error #16000: object files have incompatible formats ("C:/Ti Bluetooth
project/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi/libBluetopi
a_SCO.a<BSC.obj>" = TI-COFF, "./BTPSKRNL.obj" = ELF)

>> Compilation failure
gmake: *** [HFPDemo.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I would really appreciate any help I can get on this.  

Thanks,

Darius

  • Hi,

    That is stranger, I have imported the Default HFP Demo which is part of the v1.5 R2 release and built it on CCS 6, it without any issues.
    I hope you have not changed any thing in the project.

    Please make sue the below two steps before building the project
    1. Just make sure that while importing the project, Make sure that the “Copy projects in to workspace” and “Automatically import Referenced projects found in same search-directory” options are unchecked (not selected).

    2. And after importing the project, Right click on the “HFPDemo project” -> “Build Configurations” -> “Set Active” -> and select “Debug – MSP43F5438A Exp (MSP430F5438A Experimenter Debug Build)”
  • Thanks for the quick reply Sundeep. I did what you suggested again to make sure I did it right the first time but I got the same errors. I checked the update center and there was a new update available for the MSP430 ware. After the update I tried compiling and got the following error (used COFF):

    **** Clean-only build of configuration Debug - MSP430F5438A Exp for project HFPDemo ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
    DEL /F "HFPDemo.out"
    Could Not Find C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.5 R2\MSP430_Experimentor\Samples\HFPDemo\Projects\CCS5\Debug - MSP430F5438A Exp\HFPDemo.out
    DEL /F "BTPSKRNL.pp" "BTPSVEND.pp" "BTVS.pp" "HCITRANS.pp" "HFPDemo.pp" "Main.pp" "pre_init.pp" "sprintf.pp" "MSP430_EXP5438\HAL.pp"
    DEL /F "BTPSKRNL.obj" "BTPSVEND.obj" "BTVS.obj" "HCITRANS.obj" "HFPDemo.obj" "Main.obj" "pre_init.obj" "sprintf.obj" "MSP430_EXP5438\HAL.obj"
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration Debug - MSP430F5438A Exp for project HFPDemo ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTPSKRNL.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTPSVEND.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c"
    "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c", line 149: warning #225-D: function "_data20_read_char" declared implicitly
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTVS.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c"
    "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 169: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 431: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 645: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 645: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 731: warning #188-D: pointless comparison of unsigned integer with zero
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="HCITRANS.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="HFPDemo.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/Main.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="Main.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/Main.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/Main.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/pre_init.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="pre_init.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/pre_init.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/pre_init.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="sprintf.pp" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c'
    ' '
    'Building file: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="MSP430_EXP5438/HAL.pp" --obj_directory="MSP430_EXP5438" "C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c"
    'Finished building: C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c'
    ' '
    'Building target: HFPDemo.out'
    'Invoking: MSP430 Linker'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z --stack_size=1200 -m"HFPDemo.map" --heap_size=0 --use_hw_mpy=F5 -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/lib" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" -i"C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -i"C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/lib/CCS/coffabi" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --xml_link_info="HFPDemo_linkInfo.xml" --rom_model -o "HFPDemo.out" "./BTPSKRNL.obj" "./BTPSVEND.obj" "./BTVS.obj" "./HCITRANS.obj" "./HFPDemo.obj" "./Main.obj" "./pre_init.obj" "./sprintf.obj" "./MSP430_EXP5438/HAL.obj" "../lnk_msp430f5438a.cmd" -l"libc.a" -l"libBluetopia_SCO.a" -llibSS1BTHFP.a -l"libmath.a"
    <Linking>
    "../lnk_msp430f5438a.cmd", line 127: warning #10424-D: Linker command file has
    no sections of type=VECT_INIT, but does contain .intXX sections. This file
    may be out of date. Generating interrupt pointers for all .intXX sections.

    The default handler provided in the RTS will be used if no other handler is
    >> Compilation failure
    found. It is recommend that you update your linker command file to the
    latest version.
    warning #10204-D: could not resolve index library "libmath.a" to a compatible
    library

    undefined first referenced
    symbol in file
    --------- ----------------
    _data20_read_char ./BTPSVEND.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "HFPDemo.out" not built
    gmake: *** [HFPDemo.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Hi,

    It looks like you have modified the demo. Below is what I see while building which is different from what you are doing. The default demo should build without any issues. Try to reduce the coded size, It will work.

    "C:/TI/CCS6/ccsv6/tools/compiler/msp430_4.3.3/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --near_data=globals -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z --stack_size=1200 -m"HFPDemo.map" --heap_size=0 --use_hw_mpy=F5 -i"C:/TI/CCS6/ccsv6/ccs_base/msp430/include" -i"C:/TI/CCS6/ccsv6/tools/compiler/msp430_4.3.3/lib" -i"C:/TI/CCS6/ccsv6/tools/compiler/msp430_4.3.3/include" -i"C:/TI/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2_n/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -i"C:/TI/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2_n/MSP430_Experimentor/Bluetopia/profiles/HFP/lib/CCS/coffabi" --reread_libs --warn_sections --xml_link_info="HFPDemo_linkInfo.xml" --rom_model -o "HFPDemo.out" "./BTPSKRNL.obj" "./BTPSVEND.obj" "./BTVS.obj" "./HCITRANS.obj" "./HFPDemo.obj" "./Main.obj" "./pre_init.obj" "./sprintf.obj" "./MSP430_EXP5438/HAL.obj" "../lnk_msp430f5438a.cmd" -l"libBluetopia_SCO.a" -llibSS1BTHFP.a -l"libc.a"
  • Hi Sundeep,

    I could not figure out why my build is different than yours. I certainly did not modify any code so after after not being able to figure out what the problem was I decided to delete and uninstall everything and install re-do all the steps again ( uninstalled CCS, project files, MSP 430 and Bluetopia library). After a few tries I got it to run on the V 4.3.3 compiler only.

    Thanks for your help,

    Darius

  • Hi Darius,

    I have updated to 4.4.2 and tried, I see the issue. I hope this post will help http://e2e.ti.com/support/wireless_connectivity/f/660/t/394430 solve the problem