Skip to content

Commit 9d82a03

Browse files
gmarullcarlescufi
authored andcommitted
modules: hal_nordic: add nrf54l system sources to bsim build
Include system_nrf54l.c file when building for bsim. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 97dff5b commit 9d82a03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ zephyr_library_sources_ifdef(CONFIG_SOC_NRF52840 ${MDK_DIR}/system_nrf5284
9595
zephyr_library_sources_ifdef(CONFIG_SOC_NRF5340_CPUAPP ${MDK_DIR}/system_nrf5340_application.c)
9696
zephyr_library_sources_ifdef(CONFIG_SOC_NRF5340_CPUNET ${MDK_DIR}/system_nrf5340_network.c)
9797
zephyr_library_sources_ifdef(CONFIG_SOC_SERIES_NRF54HX ${MDK_DIR}/system_nrf54h.c)
98-
zephyr_library_sources_ifdef(CONFIG_SOC_SERIES_NRF54LX ${MDK_DIR}/system_nrf54l.c)
98+
if(CONFIG_SOC_SERIES_NRF54LX OR CONFIG_SOC_SERIES_BSIM_NRF54LX)
99+
zephyr_library_sources(${MDK_DIR}/system_nrf54l.c)
100+
endif()
99101
zephyr_library_sources_ifdef(CONFIG_SOC_SERIES_NRF91X ${MDK_DIR}/system_nrf91.c)
100102
zephyr_library_sources_ifdef(CONFIG_SOC_SERIES_NRF92X ${MDK_DIR}/system_nrf92.c)
101103

0 commit comments

Comments
 (0)