1#Description: ECSPI Freertos Driver; user_visible: True
2include_guard(GLOBAL)
3message("driver_ecspi_freertos component is included.")
4
5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6    ${CMAKE_CURRENT_LIST_DIR}/fsl_ecspi_freertos.c
7)
8
9target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
10    ${CMAKE_CURRENT_LIST_DIR}/.
11)
12
13#OR Logic component
14if(${MCUX_DEVICE} STREQUAL "MIMX8MN5")
15    include(middleware_freertos-kernel_MIMX8MN6)
16endif()
17if(${MCUX_DEVICE} STREQUAL "MIMX8MN4")
18    include(middleware_freertos-kernel_MIMX8MN6)
19endif()
20if(${MCUX_DEVICE} STREQUAL "MIMX8MQ6")
21    include(middleware_freertos-kernel_MIMX8MQ6)
22endif()
23if(${MCUX_DEVICE} STREQUAL "MIMX8MM6")
24    include(middleware_freertos-kernel_MIMX8MM6)
25endif()
26if(${MCUX_DEVICE} STREQUAL "MIMX8MM1")
27    include(middleware_freertos-kernel_MIMX8MM6)
28endif()
29if(${MCUX_DEVICE} STREQUAL "MIMX8MM5")
30    include(middleware_freertos-kernel_MIMX8MM6)
31endif()
32if(${MCUX_DEVICE} STREQUAL "MIMX8MM2")
33    include(middleware_freertos-kernel_MIMX8MM6)
34endif()
35if(${MCUX_DEVICE} STREQUAL "MIMX8ML3")
36    include(middleware_freertos-kernel_MIMX8ML8)
37endif()
38if(${MCUX_DEVICE} STREQUAL "MIMX8MM3")
39    include(middleware_freertos-kernel_MIMX8MM6)
40endif()
41if(${MCUX_DEVICE} STREQUAL "MIMX8MQ7")
42    include(middleware_freertos-kernel_MIMX8MQ6)
43endif()
44if(${MCUX_DEVICE} STREQUAL "MIMX8MN6")
45    include(middleware_freertos-kernel_MIMX8MN6)
46endif()
47if(${MCUX_DEVICE} STREQUAL "MIMX8ML6")
48    include(middleware_freertos-kernel_MIMX8ML8)
49endif()
50if(${MCUX_DEVICE} STREQUAL "MIMX8MN2")
51    include(middleware_freertos-kernel_MIMX8MN6)
52endif()
53if(${MCUX_DEVICE} STREQUAL "MIMX8ML4")
54    include(middleware_freertos-kernel_MIMX8ML8)
55endif()
56if(${MCUX_DEVICE} STREQUAL "MIMX8MD6")
57    include(middleware_freertos-kernel_MIMX8MQ6)
58endif()
59if(${MCUX_DEVICE} STREQUAL "MIMX8MM4")
60    include(middleware_freertos-kernel_MIMX8MM6)
61endif()
62if(${MCUX_DEVICE} STREQUAL "MIMX8MN1")
63    include(middleware_freertos-kernel_MIMX8MN6)
64endif()
65if(${MCUX_DEVICE} STREQUAL "MIMX8ML8")
66    include(middleware_freertos-kernel_MIMX8ML8)
67endif()
68if(${MCUX_DEVICE} STREQUAL "MIMX8MN3")
69    include(middleware_freertos-kernel_MIMX8MN6)
70endif()
71if(${MCUX_DEVICE} STREQUAL "MIMX8MD7")
72    include(middleware_freertos-kernel_MIMX8MQ6)
73endif()
74if(${MCUX_DEVICE} STREQUAL "MIMX8MQ5")
75    include(middleware_freertos-kernel_MIMX8MQ6)
76endif()
77
78include(driver_ecspi)
79