modules: hal_nordic: add support for EGU020
Add HAL glue code to support EGU020. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
bc53031824
commit
01b43074ab
2 changed files with 8 additions and 0 deletions
|
@ -62,6 +62,11 @@ config NRFX_EGU5
|
||||||
depends on $(dt_nodelabel_has_compat,egu5,$(DT_COMPAT_NORDIC_NRF_EGU))
|
depends on $(dt_nodelabel_has_compat,egu5,$(DT_COMPAT_NORDIC_NRF_EGU))
|
||||||
select NRFX_EGU
|
select NRFX_EGU
|
||||||
|
|
||||||
|
config NRFX_EGU020
|
||||||
|
bool "EGU020 driver instance"
|
||||||
|
depends on $(dt_nodelabel_has_compat,egu020,$(DT_COMPAT_NORDIC_NRF_EGU))
|
||||||
|
select NRFX_EGU
|
||||||
|
|
||||||
config NRFX_GPIOTE
|
config NRFX_GPIOTE
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
|
@ -108,6 +108,9 @@
|
||||||
#ifdef CONFIG_NRFX_EGU5
|
#ifdef CONFIG_NRFX_EGU5
|
||||||
#define NRFX_EGU5_ENABLED 1
|
#define NRFX_EGU5_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_NRFX_EGU020
|
||||||
|
#define NRFX_EGU020_ENABLED 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_NRFX_GRTC
|
#ifdef CONFIG_NRFX_GRTC
|
||||||
#define NRFX_GRTC_ENABLED 1
|
#define NRFX_GRTC_ENABLED 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue