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

App_timer // app_scheduler -> SDK 6.1 -> SDK 8.0 migration

Hello,

I just received new rev.3 nrf51822 chips, so I am migrating with my project to newest SDK version. I installed Keil5 with that smart run-time environment manager, but I have problem with integrating built-in timer library with scheduler.

On old version of SDK i just used macro: APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, true); where true mean't that i want to use scheduler.

Now, that "true" argument is invalid - it expects to have app_timer_evt_schedule_func_t type of argument. But where can I get that handler?

In run-time environment manager i selected packages: nRF_Libraries:

-> app_scheduler

-> app_timer (default)

-> app_timer_with_app_scheduler (should it be selected?)

and more ofc...

I cannot find any timer with scheduler example in new SDK. Any hints? Maybe there is some instruction that could help me with migration? I just found softdevice migration documents, which i plan to use in latter stage...

best regards,

W. Biduś

Parents Reply Children
No Data
Related