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

Watchdog drv undeclared NRF_DRV_WDT_DEAFULT_CONFIG

Hello all,

When I try to implement the new watchdog driver it keeps saying that the NRF_DRV_WDT_DEAFULT_CONFIG is undeclared. What am I missing I have all the requered files included identical to the example.

//Configure WDT.
nrf_drv_wdt_config_t config = NRF_DRV_WDT_DEAFULT_CONFIG;
err_code = nrf_drv_wdt_init(&config, wdt_event_handler);
APP_ERROR_CHECK(err_code);
err_code = nrf_drv_wdt_channel_alloc(&m_channel_id);
APP_ERROR_CHECK(err_code);
nrf_drv_wdt_enable();

..\..\..\main.c(967): error:  #20: identifier "WDT_CONFIG_BEHAVIOUR" is undefined
  nrf_drv_wdt_config_t config = NRF_DRV_WDT_CUSTOM_CONFIG;
..\..\..\main.c(967): error:  #20: identifier "WDT_CONFIG_RELOAD_VALUE" is undefined
  nrf_drv_wdt_config_t config = NRF_DRV_WDT_CUSTOM_CONFIG;
..\..\..\main.c(967): error:  #20: identifier "APP_IRQ_PRIORITY_HIGH" is undefined
  nrf_drv_wdt_config_t config = NRF_DRV_WDT_CUSTOM_CONFIG;

Thanks,

Related