modules: hal_nordic: Add NRFX_GPIOTE_NUM_OF_EVT_HANDLERS option

Add option to specifiy number of nrfx_gpiote user handlers in Kconfig.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-01-04 08:48:31 +01:00 committed by Carles Cufí
commit 3457ebc667
2 changed files with 12 additions and 0 deletions

View file

@ -66,6 +66,14 @@ config NRFX_GPIOTE
bool "Enable GPIOTE driver"
depends on HAS_HW_NRF_GPIOTE
config NRFX_GPIOTE_NUM_OF_EVT_HANDLERS
int "Number of event handlers"
depends on NRFX_GPIOTE
range 1 15
help
Specifies number of handlers that can be registered to nrfx_gpiote driver
by the user.
config NRFX_I2S
bool "Enable I2S driver"
depends on HAS_HW_NRF_I2S