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:
parent
1c4dbf7f87
commit
17c3a23157
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue