1#Description: LPI2C CMSIS Driver; user_visible: True
2include_guard(GLOBAL)
3message("driver_cmsis_lpi2c component is included.")
4
5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6    ${CMAKE_CURRENT_LIST_DIR}/fsl_lpi2c_cmsis.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 "MIMXRT1166_cm4")
15    include(driver_lpi2c_edma)
16endif()
17if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7")
18    include(driver_lpi2c_edma)
19endif()
20if(${MCUX_DEVICE} STREQUAL "MIMXRT1052")
21    include(driver_lpi2c_edma)
22endif()
23if(${MCUX_DEVICE} STREQUAL "MIMXRT1064")
24    include(driver_lpi2c_edma)
25endif()
26if(${MCUX_DEVICE} STREQUAL "MKE15Z7")
27    include(driver_lpi2c_edma)
28endif()
29if(${MCUX_DEVICE} STREQUAL "MKE16Z4")
30    include(driver_lpi2c)
31endif()
32if(${MCUX_DEVICE} STREQUAL "MKE12Z7")
33    include(driver_lpi2c_edma)
34endif()
35if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4")
36    include(driver_lpi2c_edma)
37endif()
38if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7")
39    include(driver_lpi2c_edma)
40endif()
41if(${MCUX_DEVICE} STREQUAL "MIMXRT1051")
42    include(driver_lpi2c_edma)
43endif()
44if(${MCUX_DEVICE} STREQUAL "MKE13Z7")
45    include(driver_lpi2c_edma)
46endif()
47if(${MCUX_DEVICE} STREQUAL "MKE14Z7")
48    include(driver_lpi2c_edma)
49endif()
50if(${MCUX_DEVICE} STREQUAL "MIMXRT1021")
51    include(driver_lpi2c_edma)
52endif()
53if(${MCUX_DEVICE} STREQUAL "MIMXRT1062")
54    include(driver_lpi2c_edma)
55endif()
56if(${MCUX_DEVICE} STREQUAL "MKE15Z4")
57    include(driver_lpi2c)
58endif()
59if(${MCUX_DEVICE} STREQUAL "K32L3A60_cm0plus")
60    include(driver_lpi2c_edma)
61endif()
62if(${MCUX_DEVICE} STREQUAL "K32L3A60_cm4")
63    include(driver_lpi2c_edma)
64endif()
65if(${MCUX_DEVICE} STREQUAL "MIMXRT1042")
66    include(driver_lpi2c_edma)
67endif()
68if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4")
69    include(driver_lpi2c_edma)
70endif()
71if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4")
72    include(driver_lpi2c_edma)
73endif()
74if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4")
75    include(driver_lpi2c_edma)
76endif()
77if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7")
78    include(driver_lpi2c_edma)
79endif()
80if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7")
81    include(driver_lpi2c_edma)
82endif()
83if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7")
84    include(driver_lpi2c_edma)
85endif()
86if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7")
87    include(driver_lpi2c_edma)
88endif()
89if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7")
90    include(driver_lpi2c_edma)
91endif()
92if(${MCUX_DEVICE} STREQUAL "MIMXRT1061")
93    include(driver_lpi2c_edma)
94endif()
95if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm4")
96    include(driver_lpi2c_edma)
97endif()
98if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7")
99    include(driver_lpi2c_edma)
100endif()
101if(${MCUX_DEVICE} STREQUAL "MKE17Z7")
102    include(driver_lpi2c_edma)
103endif()
104if(${MCUX_DEVICE} STREQUAL "K32L2A31A")
105    include(driver_lpi2c_edma)
106endif()
107if(${MCUX_DEVICE} STREQUAL "MCIMX7U5")
108    include(driver_lpi2c_edma)
109endif()
110if(${MCUX_DEVICE} STREQUAL "MIMXRT1024")
111    include(driver_lpi2c_edma)
112endif()
113if(${MCUX_DEVICE} STREQUAL "MIMXRT1011")
114    include(driver_lpi2c_edma)
115endif()
116if(${MCUX_DEVICE} STREQUAL "MKE14Z4")
117    include(driver_lpi2c)
118endif()
119if(${MCUX_DEVICE} STREQUAL "K32L2A41A")
120    include(driver_lpi2c_edma)
121endif()
122if(${MCUX_DEVICE} STREQUAL "MCIMX7U3")
123    include(driver_lpi2c_edma)
124endif()
125if(${MCUX_DEVICE} STREQUAL "MIMXRT1015")
126    include(driver_lpi2c_edma)
127endif()
128
129include(CMSIS_Driver_Include_I2C)
130include(driver_lpi2c_edma)
131