Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK 15.0.0 app_timer requires legacy support

As I working on a new project I am writing the code to support the new SDK driver structure and not including any "legacy" code support.

This highlights the fact that the example code and libraries within SDK15.0.0 still rely on the old structure.

For example the app_timer library code looks for APP_TIMER_CONFIG_SWI_NUMBER which doesn't exist in the master sdk_config.h other than as legacy support and in any case app_timer.c still refers to the old driver header files.

I note from the change log for the SDK that app_timer2 doesn't require an SWI configuration, however, it has been written to use a unique RTC driver file rather than the new SDK version and still uses legacy functions.

I'm now in the process of changing app_timer2.c to use the new drivers, but already I have an issue as it uses a form of app_timer_t (from components/libraries/util/app_util.h) that doesn't exist!

Before I go ahead and change the library code to actually work with the new SDK driver files, can anyone tell me if I'm missing something here?

Parents Reply Children
No Data
Related