modules: hal_nordic: nrfx: enable NRFX_GPIOTE1 for non-secure builds
Now it is needed to explicitly use NRF_GPIOTE1 instance in nrfx_gpiote driver for non-secure builds. Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
parent
c0ff691a3c
commit
70db8cd12a
|
@ -117,6 +117,12 @@
|
|||
|
||||
#ifdef CONFIG_NRFX_GPIOTE
|
||||
#define NRFX_GPIOTE_ENABLED 1
|
||||
#if (defined(CONFIG_SOC_SERIES_NRF91X) || defined(CONFIG_SOC_SERIES_NRF53X)) \
|
||||
&& defined(NRF_TRUSTZONE_NONSECURE)
|
||||
#define NRFX_GPIOTE1_ENABLED 1
|
||||
#else
|
||||
#define NRFX_GPIOTE0_ENABLED 1
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CONFIG_NRFX_GPIOTE_LOG
|
||||
#define NRFX_GPIOTE_CONFIG_LOG_ENABLED 1
|
||||
|
|
Loading…
Reference in a new issue