Tool/software: Code Composer Studio
Hi,
I'm trying to add timestamp to sensors readings using osal_GetSystemClock() function but get the following
any ideas how to solve it?
Thanks,
Itay
**** Build of configuration FlashOnly_OAD for project sensortag_cc2650stk_app **** "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 'Building file: C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/sensortag/cc26xx/app/sensortag_mov.c' 'Invoking: ARM Compiler' "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/app/../../../../../src/config/build_components.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/app/../stack/build_config.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/app/../config/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/include" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/sensortag/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/batt/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/hid_dev/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/keys" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/oad/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/sensor_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/services/src/sdata" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/cc26xxware_2_24_02_17393" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages/ti/mw/sensortag" --c99 --define=CC2650STK --define=CC26XX --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=FACTORY_IMAGE --define=FEATURE_OAD --define=GATT_TI_UUID_128_BIT --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=11 --define=ICALL_MAX_NUM_TASKS=8 --define=POWER_SAVING --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="Application/sensortag_mov.d_raw" --obj_directory="Application" --cmd_file="configPkg/compiler.opt" "C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/sensortag/cc26xx/app/sensortag_mov.c" 'Finished building: C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/sensortag/cc26xx/app/sensortag_mov.c' ' ' 'Building target: sensortag_cc2650stk_app.out' 'Invoking: ARM Linker' "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/app/../../../../../src/config/build_components.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/app/../stack/build_config.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/app/../config/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --c99 --define=CC2650STK --define=CC26XX --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=FACTORY_IMAGE --define=FEATURE_OAD --define=GATT_TI_UUID_128_BIT --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=11 --define=ICALL_MAX_NUM_TASKS=8 --define=POWER_SAVING --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"sensortag_cc2650stk_app.map" --stack_size=256 --heap_size=0 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/include" --reread_libs --diag_wrap=off --display_error_number --diag_suppress=10247-D --diag_suppress=16002-D --warn_sections --xml_link_info="sensortag_cc2650stk_app_linkInfo.xml" --rom_model --unused_section_elimination=on --compress_dwarf=on -o "sensortag_cc2650stk_app.out" "C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650stk/sensortag/ccs/config/ccs_linker_defines.cmd" "C:/ti/simplelink/ble_sdk_2_02_01_18/src/common/cc26xx/ccs/cc26xx_app_oad.cmd" "./Application/sensortag.obj" "./Application/sensortag_bar.obj" "./Application/sensortag_batt.obj" "./Application/sensortag_buzzer.obj" "./Application/sensortag_conn_ctrl.obj" "./Application/sensortag_factoryreset.obj" "./Application/sensortag_hum.obj" "./Application/sensortag_io.obj" "./Application/sensortag_keys.obj" "./Application/sensortag_mov.obj" "./Application/sensortag_oad.obj" "./Application/sensortag_opt.obj" "./Application/sensortag_register.obj" "./Application/sensortag_tmp.obj" "./Application/util.obj" "./Drivers/ECC/ECCROMCC26XX.obj" "./Drivers/I2C/I2C.obj" "./Drivers/I2C/I2CCC26XX.obj" "./Drivers/PIN/PINCC26XX.obj" "./Drivers/RF/RFCC26XX_singleMode.obj" "./Drivers/SPI/SPI.obj" "./Drivers/SPI/SPICC26XXDMA.obj" "./Drivers/TRNG/TRNGCC26XX.obj" "./Drivers/UDMA/UDMACC26XX.obj" "./ICall/icall.obj" "./ICall/icall_cc2650.obj" "./ICallBLE/ble_user_config.obj" "./ICallBLE/icall_api.obj" "./Middleware/extflash/ExtFlash.obj" "./Middleware/sensors/SensorBmp280.obj" "./Middleware/sensors/SensorHdc1000.obj" "./Middleware/sensors/SensorI2C.obj" "./Middleware/sensors/SensorMpu9250.obj" "./Middleware/sensors/SensorOpt3001.obj" "./Middleware/sensors/SensorTmp007.obj" "./Middleware/sensors/SensorUtil.obj" "./Middleware/sensortag/SensorTagTest.obj" "./PROFILES/barometerservice.obj" "./PROFILES/battservice.obj" "./PROFILES/ccservice.obj" "./PROFILES/devinfoservice.obj" "./PROFILES/gatt_uuid.obj" "./PROFILES/gattservapp_util.obj" "./PROFILES/humidityservice.obj" "./PROFILES/ioservice.obj" "./PROFILES/irtempservice.obj" "./PROFILES/movementservice.obj" "./PROFILES/oad.obj" "./PROFILES/oad_target_external_flash.obj" "./PROFILES/opticservice.obj" "./PROFILES/peripheral.obj" "./PROFILES/registerservice.obj" "./PROFILES/simplekeys.obj" "./PROFILES/st_util.obj" "./Startup/board.obj" "./Startup/main.obj" -l"configPkg/linker.cmd" -llibc.a -l"C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/cc26xxware_2_24_02_17393/driverlib/bin/ccs/driverlib.lib" -l"C:/ti/simplelink/ble_sdk_2_02_01_18/src/rom/common_rom_releases/03282014/common_rom.symbols" <Linking> undefined first referenced symbol in file --------- ---------------- osal_GetSystemClock <whole-program> error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "sensortag_cc2650stk_app.out" not built >> Compilation failure makefile:229: recipe for target 'sensortag_cc2650stk_app.out' failed gmake[1]: *** [sensortag_cc2650stk_app.out] Error 1 makefile:225: recipe for target 'all' failed gmake: *** [all] Error 2 **** Build Finished ****