From 81ed3432129307ef67f3b970bc654d7acb03244a Mon Sep 17 00:00:00 2001 From: Rubin Gerritsen Date: Fri, 20 Dec 2024 14:17:14 +0100 Subject: [PATCH] modules: hal_nordic: nrfx: Compile NRFX_GPPI modules for 54lbsim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should use CONFIG_SOC_COMPATIBLE_NRF54L15 whenever possible. With the current bsim model of 54L these files do not yet compile, but that can be added separately. Compilation warning: ``` /nrfx_interconnect_dppic_ppib.c:158:36: warning: implicit declaration of function ‘nrf_address_bus_get’ [-Wimplicit-function-declaration] 158 | uint8_t bus_address_area = nrf_address_bus_get(addr, p_dppic->apb_size); | ^~~~~~~~~~~~~~~~~~~ ``` Signed-off-by: Rubin Gerritsen --- modules/hal_nordic/nrfx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hal_nordic/nrfx/CMakeLists.txt b/modules/hal_nordic/nrfx/CMakeLists.txt index 94e1eef51cf..55fa979f189 100644 --- a/modules/hal_nordic/nrfx/CMakeLists.txt +++ b/modules/hal_nordic/nrfx/CMakeLists.txt @@ -196,7 +196,7 @@ if(CONFIG_SOC_NRF54L20_ENGA_CPUAPP) zephyr_compile_definitions(NRF_SKIP_TAMPC_SETUP) endif() -if(CONFIG_SOC_SERIES_NRF54LX AND CONFIG_NRFX_GPPI) +if(CONFIG_SOC_COMPATIBLE_NRF54LX AND CONFIG_NRFX_GPPI) zephyr_library_sources(${HELPERS_DIR}/nrfx_gppi_dppi_ppib_lumos.c) zephyr_library_sources(${NRFX_DIR}/soc/interconnect/dppic_ppib/nrfx_interconnect_dppic_ppib.c) endif()