Other Parts Discussed in Thread: CC2650, SYSBIOS
环境如下:
CCS 6.2.0
CC 2650
SYS/BIOS 6.42.0.08
TI-RTOS for SimpleLink Wireless MCUs 2.13.0.06
XDC tools version 3.31.1.33
报错如下:
**** Build of configuration FlashOnlyOAD for project c5545BoostEqualizer ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/CCS/Config/appBLE.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_simplelink_2_13_00_06;C:/ti/bios_6_42_00_08/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O3 --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/Source/Application\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/ICall/Include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/Roles/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/c5545BoostEqualizerProfile/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/Roles\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/Keys\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/DevInfo\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SensorProfile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/OAD/cc26xxST\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/applib/heap\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/hci\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/controller/CC26xx/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/host\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/CC2650TIRTOS\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/osal/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/services/sdata\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/services/saddr\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/icall/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/icall/ports/tirtos\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/Source/Application/Board_patch/interfaces\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/Source/Application/Board_patch/devices\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/Source/Application/Board_patch/CC26XXC55BP_4XS\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/packages\" --define=POWER_SAVING --define=GATT_TI_UUID_128_BIT --define=FEATURE_REGISTER_SERVICE --define=FACTORY_IMAGE --define=USE_ICALL --define=TI_DRIVERS_PIN_INCLUDED --define=TI_DRIVERS_I2C_INCLUDED --define=TI_DRIVERS_SPI_INCLUDED --define=GAPROLE_TASK_STACK_SIZE=550 --define=HEAPMGR_SIZE=2872 --define=ICALL_MAX_NUM_TASKS=8 --define=ICALL_MAX_NUM_ENTITIES=11 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=CC26XXWARE --define=CC26XX --define=CC26XXC55BP_4XS --diag_wrap=off --diag_suppress=48 --diag_warning=225 --display_error_number --gen_func_subsections=on " "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/CCS/Config/appBLE.cfg"
'Finished building: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/CCS/Config/appBLE.cfg'
' '
'Building target: c5545BoostEqualizer.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" --cmd_file="C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/CCS/c5545BoostEqualizer/../../CCS/Application/CC2650/../../../CCS/Config/ccsCompilerDefines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O3 --define=POWER_SAVING --define=GATT_TI_UUID_128_BIT --define=FEATURE_REGISTER_SERVICE --define=FACTORY_IMAGE --define=USE_ICALL --define=TI_DRIVERS_PIN_INCLUDED --define=TI_DRIVERS_I2C_INCLUDED --define=TI_DRIVERS_SPI_INCLUDED --define=GAPROLE_TASK_STACK_SIZE=550 --define=HEAPMGR_SIZE=2872 --define=ICALL_MAX_NUM_TASKS=8 --define=ICALL_MAX_NUM_ENTITIES=11 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=CC26XXWARE --define=CC26XX --define=CC26XXC55BP_4XS --diag_wrap=off --diag_suppress=48 --diag_warning=225 --display_error_number --gen_func_subsections=on -z -m"c5545BoostEqualizer.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --define=APP_BASE=0x00000000 --display_error_number --diag_suppress=10247-D --diag_wrap=off --warn_sections --xml_link_info="c5545BoostEqualizer_linkInfo.xml" --rom_model --unused_section_elimination=on --compress_dwarf=on -o "c5545BoostEqualizer.out" "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/c5545BoostEqualizer/CC26xx/CCS/Config/ccsLinkerDefines.cmd" "./Application/c5545BoostEqualizer.obj" "./Application/util.obj" "./Board/Interfaces/bsp_spi.obj" "./Drivers/I2C/I2C.obj" "./Drivers/I2C/I2CCC26XX.obj" "./Drivers/PIN/PINCC26XX.obj" "./Drivers/SPI/SPI.obj" "./Drivers/SPI/***.obj" "./Drivers/UDMA/UDMACC26XX.obj" "./ICall/ICall.obj" "./ICall/ICallCC2650.obj" "./ICallBLE/ICallBleAPI.obj" "./ICallBLE/bleUserConfig.obj" "./PROFILES/c5545BoostEqualizerService.obj" "./PROFILES/devinfoservice.obj" "./PROFILES/gatt_uuid.obj" "./PROFILES/gattservapp_util.obj" "./PROFILES/peripheral.obj" "./Startup/Board.obj" "./Startup/ccfg.obj" "./Startup/main.obj" "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx/CCS/cc26xx_ble_app_oad.cmd" -l"configPkg/linker.cmd" -llibc.a -l"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600/driverlib/bin/ccs/driverlib.lib"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
AONRTCCurrent64BitValueGet C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\c5545BoostEqualizer\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj>
ti_sysbios_family_arm_cc26xx_Power_initiateCalibration__E C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\c5545BoostEqualizer\CC26xx\CCS\c5545BoostEqualizer\FlashOnlyOAD\configPkg\package\cfg\appBLE_pem3.oem3
ti_sysbios_family_arm_cc26xx_Power_startFirstMeasurement__E C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\c5545BoostEqualizer\CC26xx\CCS\c5545BoostEqualizer\FlashOnlyOAD\configPkg\package\cfg\appBLE_pem3.oem3
ti_sysbios_knl_Clock_triggerClock__C C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\c5545BoostEqualizer\CC26xx\CCS\Config\src\sysbios\sysbios.aem3<mangled__BIOS_lib.obj>
>> Compilation failure
makefile:182: recipe for target 'c5545BoostEqualizer.out' failed
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "c5545BoostEqualizer.out" not built
gmake: *** [c5545BoostEqualizer.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
我都按照教程sprui92.pdf进行操作,但始终编译失败,请问是什么问题?c5545BoostEqualizerStack能编译成功。