modules: hal_nordic: add support for WDT131-132

Add HAL glue code to support WDT131-132.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-02-19 16:24:27 +01:00 committed by Carles Cufí
commit c57ec6f07a
2 changed files with 16 additions and 0 deletions

View file

@ -815,6 +815,16 @@ config NRFX_WDT130
depends on $(dt_nodelabel_has_compat,wdt130,$(DT_COMPAT_NORDIC_NRF_WDT)) depends on $(dt_nodelabel_has_compat,wdt130,$(DT_COMPAT_NORDIC_NRF_WDT))
select NRFX_WDT select NRFX_WDT
config NRFX_WDT131
bool "WDT131 driver instance"
depends on $(dt_nodelabel_has_compat,wdt131,$(DT_COMPAT_NORDIC_NRF_WDT))
select NRFX_WDT
config NRFX_WDT132
bool "WDT132 driver instance"
depends on $(dt_nodelabel_has_compat,wdt132,$(DT_COMPAT_NORDIC_NRF_WDT))
select NRFX_WDT
menu "Peripheral Resource Sharing module" menu "Peripheral Resource Sharing module"
config NRFX_PRS config NRFX_PRS

View file

@ -722,6 +722,12 @@
#ifdef CONFIG_NRFX_WDT130 #ifdef CONFIG_NRFX_WDT130
#define NRFX_WDT130_ENABLED 1 #define NRFX_WDT130_ENABLED 1
#endif #endif
#ifdef CONFIG_NRFX_WDT131
#define NRFX_WDT131_ENABLED 1
#endif
#ifdef CONFIG_NRFX_WDT132
#define NRFX_WDT132_ENABLED 1
#endif
#ifdef CONFIG_NRF52_ANOMALY_109_WORKAROUND #ifdef CONFIG_NRF52_ANOMALY_109_WORKAROUND
#define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1 #define NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1