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

Please provide more asserts in SDK libraries

It would be nice if libraries in the SDK contained more asserts about preconditions and postconditions. For example, since app_timer requires the lfclk running, the app_timer_init() implementation should assert that. Such asserts conventionally compile away if NDEBUG is defined.

You might also provide a version of the SD that contained more asserts.

Related