Hi, all
My environment :
SDK:simplelink_cc2640r2_sdk_4_40_00_10
CCS: 10.2.0.00009
I use simple_peripheral_cc2640r2lp_oad_offchip_app project
I add #include "osal_clock.h" and
UTCTimeStruct UTCimer;
osal_ConvertUTCTime(&UTCimer, osal_getClock());
at the end of SimplePeripheral_init(void).
But it Compilation failureI when I build the project.
undefined first referenced
symbol in file
--------- ----------------
osal_ConvertUTCTime <whole-program>
osal_getClock <whole-program>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking;
I select osal_ConvertUTCTime and open declaration ,CCS opened the file osal_clock.c(simple_peripheral_cc2640r2lp_oad_offchip_stack/OSAL/osal_clock.c)
It seems that the osal_ConvertUTCTime function is linked to osal_clock.c file.
How to solve this problem?