modules: hal_nordic: nrfx: nrfx_glue: Improve GPIOTE_CHANNELS_USED

Channels owned by a child core shall also be included in the mask of
used channels (channels that cannot be allocated by the GPIOTE channel
allocator).

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-06-04 14:11:23 +02:00 committed by Henrik Brix Andersen
parent 1c4dbf7f87
commit 17c3a23157

View file

@ -335,7 +335,10 @@ void nrfx_busy_wait(uint32_t usec_to_wait);
NRFX_PPI_GROUPS_USED_BY_MPSL)
/** @brief Bitmask that defines GPIOTE130 channels reserved for use outside of the nrfx library. */
#define NRFX_GPIOTE130_CHANNELS_USED ~NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote130), owned_channels)
#define NRFX_GPIOTE130_CHANNELS_USED \
(~NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote130), owned_channels) | \
NRFX_CONFIG_MASK_DT(DT_NODELABEL(gpiote130), child_owned_channels))
#if defined(CONFIG_BT_CTLR)
/*