Hello,
I'm trying to integrate cli_libuarte on project that use FreeRTOS. I'm basing on example form SDK cli_libuarte how ever this does not use RTOS. What I'm facing is issues with app_timer. The projects uses implementation from app_timer_freertos.c how ever this not define functions like app_timer_cnt_get() and app_timer_cnt_diff_compute() which are used in nrf_libuarte_async.c file. For this reason the application cannot link correctly.
Event if I set NRF_LIBUARTE_ASYNC_WITH_APP_TIME to 0 there are still some error related to app_timer_t:
e.g:
nrf_libuarte_async.h:280:28: error: initialization of 'void **' from incompatible pointer type 'app_timer_t * const*' {aka 'struct app_timer_t * const*'} [-Werror=incompatible-pointer-types]
(&CONCAT_2(_name,_app_timer)))) \
Second issue is that it looks like content of nrfx_timer.c file is not compiled, there are undefined references to functions from this file. NRFX_TIMER_ENABLE is defined to 1 in sdk_config.h so it should be ok. The file compiles when I remove #if NRFX_CHECK(NRFX_TIMER_ENABLED) from file.
I would appreciate any help and hints.
Regards