Skip to content

Commit d2cb0bd

Browse files
e-rkkartben
authored andcommitted
modules: hal_nordic: NRFX_GPPI enables GPPI on all platforms
Changed the CMakeLists to enable the nrfx_gppi utilities based solely on the CONFIG_NRFX_GPPI Kconfig. This unifies the configuration on all nRF SoC families. Signed-off-by: Rafał Kuźnia <[email protected]>
1 parent 006100a commit d2cb0bd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ zephyr_library_sources(nrfx_glue.c)
111111
zephyr_library_sources(${HELPERS_DIR}/nrfx_flag32_allocator.c)
112112
zephyr_library_sources_ifdef(CONFIG_RETAINED_MEM_NRF_RAM_CTRL ${HELPERS_DIR}/nrfx_ram_ctrl.c)
113113
zephyr_library_sources_ifdef(CONFIG_NRFX_GPPI ${HELPERS_DIR}/nrfx_gppi_dppi.c)
114-
zephyr_library_sources_ifdef(CONFIG_NRFX_PPI ${HELPERS_DIR}/nrfx_gppi_ppi.c)
114+
zephyr_library_sources_ifdef(CONFIG_NRFX_GPPI ${HELPERS_DIR}/nrfx_gppi_ppi.c)
115115

116116
zephyr_library_sources_ifdef(CONFIG_NRFX_PRS ${SRC_DIR}/prs/nrfx_prs.c)
117117

@@ -199,9 +199,7 @@ if(CONFIG_SOC_SERIES_NRF54LX AND CONFIG_NRFX_GPPI)
199199
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/dppic_ppib/nrfx_interconnect_dppic_ppib.c)
200200
endif()
201201

202-
if(CONFIG_SOC_SERIES_NRF54HX AND
203-
(CONFIG_DT_HAS_NORDIC_NRF_DPPIC_LOCAL_ENABLED OR
204-
CONFIG_DT_HAS_NORDIC_NRF_DPPIC_GLOBAL_ENABLED))
202+
if(CONFIG_SOC_SERIES_NRF54HX AND CONFIG_NRFX_GPPI)
205203
zephyr_library_sources(${HELPERS_DIR}/nrfx_gppi_dppi_ppib.c)
206204
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/apb/nrfx_interconnect_apb.c)
207205
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/ipct/nrfx_interconnect_ipct.c)

0 commit comments

Comments
 (0)