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

Problem exposing nrfx watchdog code.

Hi!  I was defining NRFX_WDT_ENABLED in sdk_config.h, but found that apply_old_config.h was undefining it.

Even though I had WDT_ENABLED defined to zero, the test in apply_old_config.h is for if it was defined AT ALL, not if it was defined to a non-zero value.

So, I undefined WDT_ENABLED and the issue resolved.

However, this isn't the behavior one would expect here, and the "#ifdef" needs to become just a "#if" I believe in apply_old_config.h

Thanks!

-Ben Burch

BTR Controls, Inc.

Elgin, IL, USA

Parents Reply Children
No Data
Related