modules: hal_nordic: nrfx: cleanup #162100
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
2m 27s
Annotations
1 error, 1 warning, and 10 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- #include <templates/nrfx_config_nrf51.h>
+#include <templates/nrfx_config_nrf51.h>
#elif defined(NRF52805_XXAA)
- #include <templates/nrfx_config_nrf52805.h>
+#include <templates/nrfx_config_nrf52805.h>
#elif defined(NRF52810_XXAA)
- #include <templates/nrfx_config_nrf52810.h>
+#include <templates/nrfx_config_nrf52810.h>
#elif defined(NRF52811_XXAA)
- #include <templates/nrfx_config_nrf52811.h>
+#include <templates/nrfx_config_nrf52811.h>
#elif defined(NRF52820_XXAA)
- #include <templates/nrfx_config_nrf52820.h>
+#include <templates/nrfx_config_nrf52820.h>
#elif defined(NRF52832_XXAA) || defined (NRF52832_XXAB)
- #include <templates/nrfx_config_nrf52832.h>
+#include <templates/nrfx_config_nrf52832.h>
#elif defined(NRF52833_XXAA)
- #include <templates/nrfx_config_nrf52833.h>
+#include <templates/nrfx_config_nrf52833.h>
#elif defined(NRF52840_XXAA)
- #include <templates/nrfx_config_nrf52840.h>
+#include <templates/nrfx_config_nrf52840.h>
#elif defined(NRF5340_XXAA_APPLICATION)
- #include <templates/nrfx_config_nrf5340_application.h>
+#include <templates/nrfx_config_nrf5340_application.h>
#elif defined(NRF5340_XXAA_NETWORK)
- #include <templates/nrfx_config_nrf5340_network.h>
+#include <templates/nrfx_config_nrf5340_network.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54h20_application.h>
+#include <templates/nrfx_config_nrf54h20_application.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_RADIOCORE)
- #include <templates/nrfx_config_nrf54h20_radiocore.h>
+#include <templates/nrfx_config_nrf54h20_radiocore.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_PPR)
- #include <templates/nrfx_config_nrf54h20_ppr.h>
+#include <templates/nrfx_config_nrf54h20_ppr.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54h20_flpr.h>
+#include <templates/nrfx_config_nrf54h20_flpr.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54h20_enga_application.h>
+#include <templates/nrfx_config_nrf54h20_enga_application.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_RADIOCORE)
- #include <templates/nrfx_config_nrf54h20_enga_radiocore.h>
+#include <templates/nrfx_config_nrf54h20_enga_radiocore.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_PPR)
- #include <templates/nrfx_config_nrf54h20_enga_ppr.h>
+#include <templates/nrfx_config_nrf54h20_enga_ppr.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54h20_enga_flpr.h>
+#include <templates/nrfx_config_nrf54h20_enga_flpr.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54h20_engb_application.h>
+#include <templates/nrfx_config_nrf54h20_engb_application.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_RADIOCORE)
- #include <templates/nrfx_config_nrf54h20_engb_radiocore.h>
+#include <templates/nrfx_config_nrf54h20_engb_radiocore.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_PPR)
- #include <templates/nrfx_config_nrf54h20_engb_ppr.h>
+#include <templates/nrfx_config_nrf54h20_engb_ppr.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54h20_engb_flpr.h>
+#include <templates/nrfx_config_nrf54h20_engb_flpr.h>
#elif defined(NRF54L05_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54l05_application.h>
+#include <templates/nrfx_config_nrf54l05_application.h>
#elif defined(NRF54L05_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54l05_flpr.h>
+#include <templates/nrfx_config_nrf54l05_flpr.h>
#elif defined(NRF54L10_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54l10_application.h>
+#include <templates/nrfx_config_nrf54l10_application.h>
#elif defined(NRF54L10_XXAA) && defined(NRF_FLPR)
- #include <templat
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_config.h#L107
modules/hal_nordic/nrfx/nrfx_config.h:107
- #include <templates/nrfx_config_nrf51.h>
+#include <templates/nrfx_config_nrf51.h>
#elif defined(NRF52805_XXAA)
- #include <templates/nrfx_config_nrf52805.h>
+#include <templates/nrfx_config_nrf52805.h>
#elif defined(NRF52810_XXAA)
- #include <templates/nrfx_config_nrf52810.h>
+#include <templates/nrfx_config_nrf52810.h>
#elif defined(NRF52811_XXAA)
- #include <templates/nrfx_config_nrf52811.h>
+#include <templates/nrfx_config_nrf52811.h>
#elif defined(NRF52820_XXAA)
- #include <templates/nrfx_config_nrf52820.h>
+#include <templates/nrfx_config_nrf52820.h>
#elif defined(NRF52832_XXAA) || defined (NRF52832_XXAB)
- #include <templates/nrfx_config_nrf52832.h>
+#include <templates/nrfx_config_nrf52832.h>
#elif defined(NRF52833_XXAA)
- #include <templates/nrfx_config_nrf52833.h>
+#include <templates/nrfx_config_nrf52833.h>
#elif defined(NRF52840_XXAA)
- #include <templates/nrfx_config_nrf52840.h>
+#include <templates/nrfx_config_nrf52840.h>
#elif defined(NRF5340_XXAA_APPLICATION)
- #include <templates/nrfx_config_nrf5340_application.h>
+#include <templates/nrfx_config_nrf5340_application.h>
#elif defined(NRF5340_XXAA_NETWORK)
- #include <templates/nrfx_config_nrf5340_network.h>
+#include <templates/nrfx_config_nrf5340_network.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54h20_application.h>
+#include <templates/nrfx_config_nrf54h20_application.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_RADIOCORE)
- #include <templates/nrfx_config_nrf54h20_radiocore.h>
+#include <templates/nrfx_config_nrf54h20_radiocore.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_PPR)
- #include <templates/nrfx_config_nrf54h20_ppr.h>
+#include <templates/nrfx_config_nrf54h20_ppr.h>
#elif defined(NRF54H20_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54h20_flpr.h>
+#include <templates/nrfx_config_nrf54h20_flpr.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54h20_enga_application.h>
+#include <templates/nrfx_config_nrf54h20_enga_application.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_RADIOCORE)
- #include <templates/nrfx_config_nrf54h20_enga_radiocore.h>
+#include <templates/nrfx_config_nrf54h20_enga_radiocore.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_PPR)
- #include <templates/nrfx_config_nrf54h20_enga_ppr.h>
+#include <templates/nrfx_config_nrf54h20_enga_ppr.h>
#elif defined(NRF54H20_ENGA_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54h20_enga_flpr.h>
+#include <templates/nrfx_config_nrf54h20_enga_flpr.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54h20_engb_application.h>
+#include <templates/nrfx_config_nrf54h20_engb_application.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_RADIOCORE)
- #include <templates/nrfx_config_nrf54h20_engb_radiocore.h>
+#include <templates/nrfx_config_nrf54h20_engb_radiocore.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_PPR)
- #include <templates/nrfx_config_nrf54h20_engb_ppr.h>
+#include <templates/nrfx_config_nrf54h20_engb_ppr.h>
#elif defined(NRF54H20_ENGB_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54h20_engb_flpr.h>
+#include <templates/nrfx_config_nrf54h20_engb_flpr.h>
#elif defined(NRF54L05_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54l05_application.h>
+#include <templates/nrfx_config_nrf54l05_application.h>
#elif defined(NRF54L05_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54l05_flpr.h>
+#include <templates/nrfx_config_nrf54l05_flpr.h>
#elif defined(NRF54L10_XXAA) && defined(NRF_APPLICATION)
- #include <templates/nrfx_config_nrf54l10_application.h>
+#include <templates/nrfx_config_nrf54l10_application.h>
#elif defined(NRF54L10_XXAA) && defined(NRF_FLPR)
- #include <templates/nrfx_config_nrf54l10_flpr.h>
+#include <templates/nrfx_config_nrf54l10_flpr.h>
#elif defined(NRF54L15_XX
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_kconfig.h#L957
modules/hal_nordic/nrfx/nrfx_kconfig.h:957
-#define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
-#define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE \
- CONFIG_NRF52_ANOMALY_109_WORKAROUND_EGU_INSTANCE
+#define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
+#define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE CONFIG_NRF52_ANOMALY_109_WORKAROUND_EGU_INSTANCE
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_kconfig.h#L980
modules/hal_nordic/nrfx/nrfx_kconfig.h:980
-#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_dppic_global) || \
+#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_dppic_global) || \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_kconfig.h#L1000
modules/hal_nordic/nrfx/nrfx_kconfig.h:1000
-#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_ipct_global) || \
+#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_ipct_global) || \
DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_ipct_local)
/* Channels masks generation. */
-#define NRFX_CONFIG_IPCT_MASK_DT(node_id) \
+#define NRFX_CONFIG_IPCT_MASK_DT(node_id) \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_kconfig.h#L1041
modules/hal_nordic/nrfx/nrfx_kconfig.h:1041
-#define NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num) \
+#define NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num) \
COND_CODE_1(IS_EMPTY(inst_num), \
(NRFX_CONFIG_IPCT_LOCAL_NODE), \
(DT_NODELABEL(_CONCAT(ipct, inst_num))))
-#define NRFX_IPCTx_PUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
+#define NRFX_IPCTx_PUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
NRFX_CONFIG_IPCT_MASK_DT(NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num))
-#define NRFX_IPCTx_SUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
+#define NRFX_IPCTx_SUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
NRFX_CONFIG_IPCT_MASK_DT(NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num))
-#define NRFX_IPCT_PUB_OR_SUB_MASK(inst_num) \
+#define NRFX_IPCT_PUB_OR_SUB_MASK(inst_num) \
COND_CODE_1(IS_EMPTY(inst_num), \
(DT_NODE_HAS_STATUS_OKAY(NRFX_CONFIG_IPCT_LOCAL_NODE)), \
(DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(ipct, inst_num)), owned_channels)))
/* Variables names generation. */
#define NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(node_id) _CONCAT(_CONCAT(m_, node_id), _channels)
-#define NRFX_IPCTx_CHANNELS_SINGLE_VAR_NAME_BY_INST_NUM(inst_num) \
+#define NRFX_IPCTx_CHANNELS_SINGLE_VAR_NAME_BY_INST_NUM(inst_num) \
COND_CODE_1(IS_EMPTY(inst_num), \
(NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(NRFX_CONFIG_IPCT_LOCAL_NODE)), \
(NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(DT_NODELABEL(_CONCAT(ipct, inst_num)))))
/* Variables entries generation. */
-#define NRFX_CONFIG_IPCT_CHANNELS_ENTRY(node_id) \
- static nrfx_atomic_t NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(node_id) \
- __attribute__((used)) = \
+#define NRFX_CONFIG_IPCT_CHANNELS_ENTRY(node_id) \
+ static nrfx_atomic_t NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(node_id) __attribute__((used)) = \
NRFX_CONFIG_IPCT_MASK_DT(node_id);
-#define NRFX_INTERCONNECT_IPCT_LOCAL_DEFINE \
+#define NRFX_INTERCONNECT_IPCT_LOCAL_DEFINE \
DT_FOREACH_STATUS_OKAY(nordic_nrf_ipct_local, NRFX_CONFIG_IPCT_CHANNELS_ENTRY)
-#define NRFX_INTERCONNECT_IPCT_GLOBAL_DEFINE \
+#define NRFX_INTERCONNECT_IPCT_GLOBAL_DEFINE \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_reserved_resources.h#L44
modules/hal_nordic/nrfx/nrfx_reserved_resources.h:44
-#define NRFX_GRTC_CONFIG_ALLOWED_CC_CHANNELS_MASK \
- (NRFX_CONFIG_MASK_DT(DT_INST(0, nordic_nrf_grtc), owned_channels) & \
+#define NRFX_GRTC_CONFIG_ALLOWED_CC_CHANNELS_MASK \
+ (NRFX_CONFIG_MASK_DT(DT_INST(0, nordic_nrf_grtc), owned_channels) & \
~NRFX_CONFIG_MASK_DT(DT_INST(0, nordic_nrf_grtc), child_owned_channels))
-#define NRFX_GRTC_CONFIG_NUM_OF_CC_CHANNELS \
- (DT_PROP_LEN_OR(DT_INST(0, nordic_nrf_grtc), owned_channels, 0) - \
+#define NRFX_GRTC_CONFIG_NUM_OF_CC_CHANNELS \
+ (DT_PROP_LEN_OR(DT_INST(0, nordic_nrf_grtc), owned_channels, 0) - \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h#L31
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h:31
-#define NRFX_CONFIG_MASK_DT(node_id, prop) \
+#define NRFX_CONFIG_MASK_DT(node_id, prop) \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h#L73
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h:73
-#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_dppic_global) || \
+#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_dppic_global) || \
DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_dppic_local)
/* Source (publish) channels masks generation. */
-#define NRFX_DPPI_PUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
+#define NRFX_DPPI_PUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
NRFX_CONFIG_MASK_DT(DT_NODELABEL(_CONCAT(dppic, inst_num)), source_channels)
/* Sink (subscribe) channels masks generation. */
-#define NRFX_DPPI_SUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
+#define NRFX_DPPI_SUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
NRFX_CONFIG_MASK_DT(DT_NODELABEL(_CONCAT(dppic, inst_num)), sink_channels)
-#define NRFX_DPPI_PUB_OR_SUB_MASK(inst_num) \
- UTIL_OR(DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(dppic, inst_num)), source_channels), \
+#define NRFX_DPPI_PUB_OR_SUB_MASK(inst_num) \
+ UTIL_OR(DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(dppic, inst_num)), source_channels), \
DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(dppic, inst_num)), sink_channels))
/* Variables names generation. */
#define NRFX_CONFIG_DPPI_CHANNELS_ENTRY_NAME(node_id) _CONCAT(_CONCAT(m_, node_id), _channels)
-#define NRFX_DPPI_CHANNELS_SINGLE_VAR_NAME_BY_INST_NUM(inst_num) \
+#define NRFX_DPPI_CHANNELS_SINGLE_VAR_NAME_BY_INST_NUM(inst_num) \
NRFX_CONFIG_DPPI_CHANNELS_ENTRY_NAME(DT_NODELABEL(_CONCAT(dppic, inst_num)))
/* Variables entries generation. */
-#define NRFX_CONFIG_DPPI_CHANNELS_ENTRY(node_id) \
- static nrfx_atomic_t NRFX_CONFIG_DPPI_CHANNELS_ENTRY_NAME(node_id) \
- __attribute__((used)) = \
- NRFX_CONFIG_MASK_DT(node_id, source_channels) | \
+#define NRFX_CONFIG_DPPI_CHANNELS_ENTRY(node_id) \
+ static nrfx_atomic_t NRFX_CONFIG_DPPI_CHANNELS_ENTRY_NAME(node_id) __attribute__((used)) = \
+ NRFX_CONFIG_MASK_DT(node_id, source_channels) | \
NRFX_CONFIG_MASK_DT(node_id, sink_channels);
-#define NRFX_INTERCONNECT_APB_GLOBAL_DPPI_DEFINE \
+#define NRFX_INTERCONNECT_APB_GLOBAL_DPPI_DEFINE \
DT_FOREACH_STATUS_OKAY(nordic_nrf_dppic_global, NRFX_CONFIG_DPPI_CHANNELS_ENTRY)
-#define NRFX_INTERCONNECT_APB_LOCAL_DPPI_DEFINE \
+#define NRFX_INTERCONNECT_APB_LOCAL_DPPI_DEFINE \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h#L90
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h:90
-#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_ipct_global) || \
+#if DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_ipct_global) || \
DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_ipct_local)
/* Channels masks generation. */
-#define NRFX_CONFIG_IPCT_MASK_DT(node_id) \
+#define NRFX_CONFIG_IPCT_MASK_DT(node_id) \
|
You may want to run clang-format on this change:
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h#L131
modules/hal_nordic/nrfx/nrfx_zephyr_utils.h:131
-#define NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num) \
+#define NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num) \
COND_CODE_1(IS_EMPTY(inst_num), \
(NRFX_CONFIG_IPCT_LOCAL_NODE), \
(DT_NODELABEL(_CONCAT(ipct, inst_num))))
-#define NRFX_IPCTx_PUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
+#define NRFX_IPCTx_PUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
NRFX_CONFIG_IPCT_MASK_DT(NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num))
-#define NRFX_IPCTx_SUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
+#define NRFX_IPCTx_SUB_CONFIG_ALLOWED_CHANNELS_MASK_BY_INST_NUM(inst_num) \
NRFX_CONFIG_IPCT_MASK_DT(NRFX_CONFIG_IPCT_NODE_BY_INST_NUM(inst_num))
-#define NRFX_IPCT_PUB_OR_SUB_MASK(inst_num) \
+#define NRFX_IPCT_PUB_OR_SUB_MASK(inst_num) \
COND_CODE_1(IS_EMPTY(inst_num), \
(DT_NODE_HAS_STATUS_OKAY(NRFX_CONFIG_IPCT_LOCAL_NODE)), \
(DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(ipct, inst_num)), owned_channels)))
/* Variables names generation. */
#define NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(node_id) _CONCAT(_CONCAT(m_, node_id), _channels)
-#define NRFX_IPCTx_CHANNELS_SINGLE_VAR_NAME_BY_INST_NUM(inst_num) \
+#define NRFX_IPCTx_CHANNELS_SINGLE_VAR_NAME_BY_INST_NUM(inst_num) \
COND_CODE_1(IS_EMPTY(inst_num), \
(NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(NRFX_CONFIG_IPCT_LOCAL_NODE)), \
(NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(DT_NODELABEL(_CONCAT(ipct, inst_num)))))
/* Variables entries generation. */
-#define NRFX_CONFIG_IPCT_CHANNELS_ENTRY(node_id) \
- static nrfx_atomic_t NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(node_id) \
- __attribute__((used)) = \
+#define NRFX_CONFIG_IPCT_CHANNELS_ENTRY(node_id) \
+ static nrfx_atomic_t NRFX_CONFIG_IPCT_CHANNELS_ENTRY_NAME(node_id) __attribute__((used)) = \
NRFX_CONFIG_IPCT_MASK_DT(node_id);
-#define NRFX_INTERCONNECT_IPCT_LOCAL_DEFINE \
+#define NRFX_INTERCONNECT_IPCT_LOCAL_DEFINE \
DT_FOREACH_STATUS_OKAY(nordic_nrf_ipct_local, NRFX_CONFIG_IPCT_CHANNELS_ENTRY)
-#define NRFX_INTERCONNECT_IPCT_GLOBAL_DEFINE \
+#define NRFX_INTERCONNECT_IPCT_GLOBAL_DEFINE \
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compliance.xml
|
2.51 KB |
|