Skip to content

Commit 609a75b

Browse files
bikleppeNordicBuilder
authored andcommitted
drivers: mspi_sqspi: Align with new nrfxlib folder structure.
Now Soft Peripherals are selected by SOC series, not individual SOC. Updated include path to the sQSPI in nrfxlib to reflect changes in folder structure. Signed-off-by: Bjørn-Inge Kleppe <[email protected]>
1 parent 7f52bbe commit 609a75b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/mspi/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ zephyr_library_sources_ifdef(CONFIG_MSPI_HPF mspi_hpf.c)
1010
if(CONFIG_MSPI_NRF_SQSPI)
1111
set(SP_DIR ${ZEPHYR_NRFXLIB_MODULE_DIR}/softperipheral)
1212
set(SQSPI_DIR ${SP_DIR}/sQSPI)
13+
if(CONFIG_SOC_SERIES_NRF54HX)
14+
set(SQSPI_SOC_SERIES nrf54h)
15+
endif()
16+
17+
if(CONFIG_SOC_SERIES_NRF54LX)
18+
set(SQSPI_SOC_SERIES nrf54l)
19+
endif()
1320

1421
dt_comp_path(sqspi_path COMPATIBLE "nordic,nrf-sqspi" IDX 0)
1522
dt_reg_addr(sqspi_addr PATH ${sqspi_path})
@@ -23,7 +30,7 @@ if(CONFIG_MSPI_NRF_SQSPI)
2330
zephyr_library_include_directories(
2431
${SP_DIR}/include
2532
${SQSPI_DIR}/include
26-
${SQSPI_DIR}/include/${CONFIG_SOC}
33+
${SQSPI_DIR}/include/${SQSPI_SOC_SERIES}
2734
)
2835
zephyr_library_sources(
2936
${SQSPI_DIR}/src/nrf_sqspi.c

0 commit comments

Comments
 (0)