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 <rafal.kuznia@nordicsemi.no>
This commit is contained in:
parent
006100a1c1
commit
d2cb0bde55
1 changed files with 2 additions and 4 deletions
|
|
@ -111,7 +111,7 @@ zephyr_library_sources(nrfx_glue.c)
|
||||||
zephyr_library_sources(${HELPERS_DIR}/nrfx_flag32_allocator.c)
|
zephyr_library_sources(${HELPERS_DIR}/nrfx_flag32_allocator.c)
|
||||||
zephyr_library_sources_ifdef(CONFIG_RETAINED_MEM_NRF_RAM_CTRL ${HELPERS_DIR}/nrfx_ram_ctrl.c)
|
zephyr_library_sources_ifdef(CONFIG_RETAINED_MEM_NRF_RAM_CTRL ${HELPERS_DIR}/nrfx_ram_ctrl.c)
|
||||||
zephyr_library_sources_ifdef(CONFIG_NRFX_GPPI ${HELPERS_DIR}/nrfx_gppi_dppi.c)
|
zephyr_library_sources_ifdef(CONFIG_NRFX_GPPI ${HELPERS_DIR}/nrfx_gppi_dppi.c)
|
||||||
zephyr_library_sources_ifdef(CONFIG_NRFX_PPI ${HELPERS_DIR}/nrfx_gppi_ppi.c)
|
zephyr_library_sources_ifdef(CONFIG_NRFX_GPPI ${HELPERS_DIR}/nrfx_gppi_ppi.c)
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_NRFX_PRS ${SRC_DIR}/prs/nrfx_prs.c)
|
zephyr_library_sources_ifdef(CONFIG_NRFX_PRS ${SRC_DIR}/prs/nrfx_prs.c)
|
||||||
|
|
||||||
|
|
@ -199,9 +199,7 @@ if(CONFIG_SOC_SERIES_NRF54LX AND CONFIG_NRFX_GPPI)
|
||||||
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/dppic_ppib/nrfx_interconnect_dppic_ppib.c)
|
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/dppic_ppib/nrfx_interconnect_dppic_ppib.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_SOC_SERIES_NRF54HX AND
|
if(CONFIG_SOC_SERIES_NRF54HX AND CONFIG_NRFX_GPPI)
|
||||||
(CONFIG_DT_HAS_NORDIC_NRF_DPPIC_LOCAL_ENABLED OR
|
|
||||||
CONFIG_DT_HAS_NORDIC_NRF_DPPIC_GLOBAL_ENABLED))
|
|
||||||
zephyr_library_sources(${HELPERS_DIR}/nrfx_gppi_dppi_ppib.c)
|
zephyr_library_sources(${HELPERS_DIR}/nrfx_gppi_dppi_ppib.c)
|
||||||
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/apb/nrfx_interconnect_apb.c)
|
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/apb/nrfx_interconnect_apb.c)
|
||||||
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/ipct/nrfx_interconnect_ipct.c)
|
zephyr_library_sources(${NRFX_DIR}/soc/interconnect/ipct/nrfx_interconnect_ipct.c)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue