Skip to content

Commit

Permalink
samples: drivers: memc: combine MSPI memc
Browse files Browse the repository at this point in the history
Combine the separate mspi memc in CMakeLists

Signed-off-by: Richard Wheatley <[email protected]>
  • Loading branch information
RichardSWheatley committed Feb 20, 2025
1 parent c8f6a44 commit c2d78e6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions samples/drivers/memc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ if(CONFIG_MEMC_MCUX_FLEXSPI)
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/drivers/memc)
endif()

if(CONFIG_MEMC_MSPI_APS6404L)
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/zephyr/drivers)
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/drivers/mspi)
endif()

if(CONFIG_MEMC_MSPI_APS256N)
if(CONFIG_MEMC_MSPI_APS256N OR CONFIG_MEMC_MSPI_APS6404L)
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/zephyr/drivers)
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/drivers/mspi)
endif()
Expand Down

0 comments on commit c2d78e6

Please sign in to comment.