This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to add the "hal_time_get()" API's library?

Hi, 

I would like to use hal_time_get()  [hal_timer.h] in my project, and I try to add below library into Makefile.

but I got an error.  "error: implicit declaration of function 'hal_time_get'"

how can I call the "hal_time_get()" API on my project?

Thank you.

# Libraries common to all targets
LIB_FILES += \
  $(SDK_ROOT)/components/802_15_4/secure/802_15_4_lib_gcc.a \

  • GCC
  • ubuntu 12.04 (64 bit)
  • nRF52 (PCA10056, nRF52840) 
  • nRF5_SDK_15.2.0_9412b96
  • base on the serial_uartes_pca10056 sample code
Related