summaryrefslogtreecommitdiff
path: root/bsp/nrf5x/nrf52840
diff options
context:
space:
mode:
author杨连钊 <[email protected]>2020-08-22 21:45:37 +0800
committer杨连钊 <[email protected]>2020-08-22 21:45:37 +0800
commit679bda59d8ef8e8655dbc46a5626bfe60b36ea03 (patch)
treef746a3aaebd85a42fabf7f1394f2f82a3768628a /bsp/nrf5x/nrf52840
parentf177f11eeaffc7747e016ee9b03c9b51c693e7bb (diff)
[bsp/nrf5x/libraries/drivers] add wdt driver
Diffstat (limited to 'bsp/nrf5x/nrf52840')
-rw-r--r--bsp/nrf5x/nrf52840/board/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsp/nrf5x/nrf52840/board/Kconfig b/bsp/nrf5x/nrf52840/board/Kconfig
index 756a81495e..b16565f77a 100644
--- a/bsp/nrf5x/nrf52840/board/Kconfig
+++ b/bsp/nrf5x/nrf52840/board/Kconfig
@@ -332,6 +332,21 @@ endif
range 0x1000 0x1000
default 0x1000
endmenu
+ config BSP_USING_WDT
+ bool "Enable WDT"
+ select RT_USING_WDT
+ default n
+ if BSP_USING_WDT
+ config NRFX_WDT_ENABLED
+ int
+ default 1
+ config NRFX_WDT0_ENABLED
+ int
+ default 1
+ config NRFX_WDT_CONFIG_NO_IRQ
+ int
+ default 1
+ endif
endmenu
endmenu