modules: hal_nordic: Enable support for DPPI on nRF54H20
Include into compilation the nrfx_gppi_dppi_ppib helper and related interconnect layers when DPPIC nodes are enabled in DTS. Provide macro definitions required by those interconnect layers based on information from devicetree (the nrf_grtc_timer is only modified because a macro that it uses became more generic). Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
54014f503c
commit
6692d880e9
3 changed files with 121 additions and 12 deletions
|
@ -21,8 +21,8 @@
|
|||
#if !DT_NODE_HAS_PROP(GRTC_NODE, owned_channels)
|
||||
#error GRTC owned-channels DT property is not defined
|
||||
#endif
|
||||
#define OWNED_CHANNELS_MASK NRFX_CONFIG_GRTC_MASK_DT(owned_channels)
|
||||
#define CHILD_OWNED_CHANNELS_MASK NRFX_CONFIG_GRTC_MASK_DT(child_owned_channels)
|
||||
#define OWNED_CHANNELS_MASK NRFX_CONFIG_MASK_DT(GRTC_NODE, owned_channels)
|
||||
#define CHILD_OWNED_CHANNELS_MASK NRFX_CONFIG_MASK_DT(GRTC_NODE, child_owned_channels)
|
||||
#if ((OWNED_CHANNELS_MASK | CHILD_OWNED_CHANNELS_MASK) != OWNED_CHANNELS_MASK)
|
||||
#error GRTC child-owned-channels DT property must be a subset of owned-channels
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue