Other Parts Discussed in Thread: CAPTIVATE-PHONE
Tool/software:
Hi,
I generated very simple project using CapTIvate DesignCenter GUI and imported to CCS.
But CCS generated below errors and the project cannot be built. What is wrong?
**** Build of configuration Debug for project test_CapTIvate **** "C:\\ti\\ccs1271\\ccs\\utils\\bin\\gmake" -k -j 12 all -O Building target: "test_CapTIvate.out" Invoking: MSP430 Linker "C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --advice:power="none" --advice:hw_config=all --define=__MSP430FR2633__ --define=TARGET_IS_MSP430FR2XX_4XX -g --gcc --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"test_CapTIvate.map" --heap_size=160 --stack_size=256 --cinit_hold_wdt=on -i"C:/ti/ccs1271/ccs/ccs_base/msp430/include" -i"C:/ti/ccs1271/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/lib" -i"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="test_CapTIvate_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "test_CapTIvate.out" "./main.obj" "./captivate/ADVANCED/CAPT_Manager.obj" "./captivate/BASE/CAPT_ISR.obj" "./captivate/COMM/CAPT_Interface.obj" "./captivate/COMM/FunctionTimer.obj" "./captivate/COMM/I2CSlave.obj" "./captivate/COMM/UART.obj" "./captivate_app/CAPT_App.obj" "./captivate_app/CAPT_BSP.obj" "./captivate_config/CAPT_UserConfig.obj" "./src/captivate/ADVANCED/CAPT_Manager.obj" "./src/captivate/BASE/CAPT_ISR.obj" "./src/captivate/COMM/CAPT_Interface.obj" "./src/captivate/COMM/FunctionTimer.obj" "./src/captivate/COMM/I2CSlave.obj" "./src/captivate/COMM/UART.obj" "./src/captivate_app/CAPT_App.obj" "./src/captivate_app/CAPT_BSP.obj" "./src/captivate_config/CAPT_UserConfig.obj" "./src/main.obj" "../lnk_msp430fr2633.cmd" "../captivate/BASE/libraries/captivate_fr2633_family.lib" "../driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2633_family.lib" "../mathlib/libraries/IQmathLib.lib" "../mathlib/libraries/IQmathLib_CCS_MPY32_5xx_6xx_CPUX_small_code_small_data.lib" "../mathlib/libraries/QmathLib.lib" "../mathlib/libraries/QmathLib_CCS_MPY32_5xx_6xx_CPUX_small_code_small_data.lib" "../src/captivate/BASE/libraries/captivate_fr2522_family.lib" "../src/captivate/BASE/libraries/captivate_fr2633_family.lib" "../src/captivate/BASE/libraries/captivate_fr2676_family.lib" "../src/driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2522_family.lib" "../src/driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2633_family.lib" "../src/driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2676_family.lib" "../src/mathlib/libraries/IQmathLib.lib" "../src/mathlib/libraries/IQmathLib_CCS_MPY32_5xx_6xx_CPUX_small_code_small_data.lib" "../src/mathlib/libraries/QmathLib.lib" "../src/mathlib/libraries/QmathLib_CCS_MPY32_5xx_6xx_CPUX_small_code_small_data.lib" -llibmath.a -l"C:/Users/a0739575/workspace_v12/CapTIvate/test_CapTIvate/captivate/BASE/libraries/captivate_fr2633_family.lib" -l"C:/Users/a0739575/workspace_v12/CapTIvate/test_CapTIvate/driverlib/MSP430FR2xx_4xx/libraries/driverlib_fr2633_family.lib" -l"C:/Users/a0739575/workspace_v12/CapTIvate/test_CapTIvate/mathlib/libraries/QmathLib.lib" -l"C:/Users/a0739575/workspace_v12/CapTIvate/test_CapTIvate/mathlib/libraries/IQmathLib.lib" -llibc.a <Linking> error #10056: symbol "CAPT_updateUI" redefined: first defined in "./captivate/ADVANCED/CAPT_Manager.obj"; redefined in "./src/captivate/ADVANCED/CAPT_Manager.obj" error #10056: symbol "CAPT_getGlobalUIProximityStatus" redefined: first defined in "./captivate/ADVANCED/CAPT_Manager.obj"; redefined in "./src/captivate/ADVANCED/CAPT_Manager.obj" error #10056: symbol "CAPT_initUI" redefined: first defined in "./captivate/ADVANCED/CAPT_Manager.obj"; redefined in "./src/captivate/ADVANCED/CAPT_Manager.obj" error #10056: symbol "CAPT_calibrateUI" redefined: first defined in "./captivate/ADVANCED/CAPT_Manager.obj"; redefined in "./src/captivate/ADVANCED/CAPT_Manager.obj" error #10056: symbol "__TI_int40" redefined: first defined in "./captivate/BASE/CAPT_ISR.obj"; redefined in "./src/captivate/BASE/CAPT_ISR.obj" error #10056: symbol "CAPT_ISR" redefined: first defined in "./captivate/BASE/CAPT_ISR.obj"; redefined in "./src/captivate/BASE/CAPT_ISR.obj" error #10056: symbol "CAPT_checkForInboundPacket" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_writeSensorData" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_initCommInterface" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_writeGeneralPurposeData" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_writeTrackPadData" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_writeElementData" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_checkForRecalibrationRequest" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "CAPT_writeString" redefined: first defined in "./captivate/COMM/CAPT_Interface.obj"; redefined in "./src/captivate/COMM/CAPT_Interface.obj" error #10056: symbol "UART_transmitByteImmediately" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "UART_openPort" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "__TI_int46" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "UART_ISR" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "UART_getPortStatus" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "UART_closePort" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "UART_transmitBuffer" redefined: first defined in "./captivate/COMM/UART.obj"; redefined in "./src/captivate/COMM/UART.obj" error #10056: symbol "CAPT_appHandler" redefined: first defined in "./captivate_app/CAPT_App.obj"; redefined in "./src/captivate_app/CAPT_App.obj" error #10056: symbol "CAPT_appStart" redefined: first defined in "./captivate_app/CAPT_App.obj"; redefined in "./src/captivate_app/CAPT_App.obj" error #10056: symbol "CAPT_appSleep" redefined: first defined in "./captivate_app/CAPT_App.obj"; redefined in "./src/captivate_app/CAPT_App.obj" error #10056: symbol "BSP_configureMCU" redefined: first defined in "./captivate_app/CAPT_BSP.obj"; redefined in "./src/captivate_app/CAPT_BSP.obj" error #10056: symbol "_system_pre_init" redefined: first defined in "./captivate_app/CAPT_BSP.obj"; redefined in "./src/captivate_app/CAPT_BSP.obj" error #10056: symbol "BTN00_Cycles" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "BTN00_E00" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "BTN00_E01" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "BTN00_C00_Elements" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "g_pCaptivateSensorArray" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "BTN00_C00" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "g_uiApp" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "BTN00" redefined: first defined in "./captivate_config/CAPT_UserConfig.obj"; redefined in "./src/captivate_config/CAPT_UserConfig.obj" error #10056: symbol "main" redefined: first defined in "./main.obj"; redefined in "./src/main.obj" error #10010: errors encountered during linking; "test_CapTIvate.out" not built >> Compilation failure makefile:209: recipe for target 'test_CapTIvate.out' failed gmake[1]: *** [test_CapTIvate.out] Error 1 gmake: *** [all] Error 2 makefile:205: recipe for target 'all' failed **** Build Finished ****
Here are tool version:
CCS Version: 12.7.1.00001
Design Center version 1_83_00_08
I can build example project without an error, for example, "FR2633_CAPTIVATE-PHONE".
Thanks and regards,
Koichiro Tashiro