1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
6project(memc)
7
8
9if(CONFIG_MEMC_MCUX_FLEXSPI)
10  target_include_directories(app PRIVATE ${ZEPHYR_BASE}/drivers/memc)
11endif()
12
13if(CONFIG_MEMC_MSPI_APS6404L)
14  target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/zephyr/drivers)
15  target_include_directories(app PRIVATE ${ZEPHYR_BASE}/drivers/mspi)
16endif()
17
18target_sources(app PRIVATE src/main.c)
19