File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,12 @@ if(CONFIG_SOC_NRF7120_ENGA_CPUAPP)
3131 dt_prop(clock_frequency PATH "/cpus/cpu@0" PROPERTY "clock-frequency" )
3232 math (EXPR clock_frequency_mhz "${clock_frequency} / 1000000" )
3333 zephyr_compile_definitions("NRF_CONFIG_CPU_FREQ_MHZ=${clock_frequency_mhz} " )
34+ endif ()
3435
35- if (CONFIG_NRFX_GPPI)
36- zephyr_library_sources(${helpers_dir} /nrfx_gppi_dppi_ppib_lumos.c)
37- zephyr_library_sources(${NRFX_DIR} /soc/interconnect/dppic_ppib/nrfx_interconnect_dppic_ppib.c)
36+ if (CONFIG_NRFX_GPPI AND NOT CONFIG_NRFX_GPPI_V1 AND CONFIG_SOC_SERIES_NRF71X)
37+ zephyr_library_sources_ifdef(CONFIG_HAS_HW_NRF_PPI ${helpers_dir} /nrfx_gppi_ppi.c)
38+ zephyr_library_sources(${BSP_DIR} /stable/soc/interconnect/nrfx_gppi_lumos.c)
39+ if (CONFIG_HAS_HW_NRF_DPPIC)
40+ zephyr_library_sources(${helpers_dir} /nrfx_gppi_dppi.c)
3841 endif ()
3942endif ()
You can’t perform that action at this time.
0 commit comments