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

Segger Studio, trouble compiling "nrfx_wdt"

Hello,

I'm trying to compile a slightly modified version of the template application for nRF52832 using Segger Studio.  I'm running into a compile issue with this line utilizing the watch dog timer in util.c:

I've done the following things which I think is needed to make sure wdt is part of the build.

1)  I've included "nrfx_wdt.c" in the file tree under <nrf_drivers>, as seen in the screen shot above.  I'm using the SDK version saved under <...\modules\nrfx\drivers\src>

2)  Under the "c_user_include_directories" in the .emProject, I've added "../../../../../../modules/nrfx/drivers/include", the directory that holds the header "nrfx_wdt.h".

I suspect that it's not actually building wdt.  When I view nrfx_wdt.c file under SES, it's gray out and there's no size after compile.

While I was googling for a possible solution, I also came across people including this directory in their user_include directories:

"../../../../../../components/drivers_nrf/wdt"

I can't find any directory named <wdt> in the SDK in that folder:

So that's a bit of a mystery for me.  What am I doing wrong with SES not compiling wdt?

Thanks.

Parents Reply Children
Related