drivers: wdt_nrfx: Add multi-instance support
Update the driver to support multiple watchdog instances and add the corresponding Kconfig options. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no> Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
b814f8ab4b
commit
ec2a401bf3
2 changed files with 97 additions and 61 deletions
|
@ -10,3 +10,16 @@ config WDT_NRFX
|
|||
select NRFX_WDT
|
||||
help
|
||||
Enable support for nrfx WDT driver for nRF MCU series.
|
||||
|
||||
config NRFX_WDT0
|
||||
bool "Enable WDT0 instance"
|
||||
depends on HAS_HW_NRF_WDT || HAS_HW_NRF_WDT0
|
||||
default y
|
||||
help
|
||||
Enable support for nrfx WDT instance 0.
|
||||
|
||||
config NRFX_WDT1
|
||||
bool "Enable WDT1 instance"
|
||||
depends on HAS_HW_NRF_WDT1
|
||||
help
|
||||
Enable support for nrfx WDT instance 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue