1#Description: LPUART Freertos Driver; user_visible: True
2include_guard(GLOBAL)
3message("driver_lpuart_freertos component is included.")
4
5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6    ${CMAKE_CURRENT_LIST_DIR}/fsl_lpuart_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 "MK22F51212")
15    include(middleware_freertos-kernel_MK22F51212)
16endif()
17if(${MCUX_DEVICE} STREQUAL "MIMXRT1062")
18    include(middleware_freertos-kernel_MIMXRT1062)
19endif()
20if(${MCUX_DEVICE} STREQUAL "MIMXRT1042")
21    include(middleware_freertos-kernel_MIMXRT1042)
22endif()
23if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4")
24    include(middleware_freertos-kernel_MIMXRT1176_cm4)
25endif()
26if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4")
27    include(middleware_freertos-kernel_MIMXRT1176_cm4)
28endif()
29if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4")
30    include(middleware_freertos-kernel_MIMXRT1176_cm4)
31endif()
32if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7")
33    include(middleware_freertos-kernel_MIMXRT1176_cm7)
34endif()
35if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7")
36    include(middleware_freertos-kernel_MIMXRT1176_cm7)
37endif()
38if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7")
39    include(middleware_freertos-kernel_MIMXRT1176_cm7)
40endif()
41if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7")
42    include(middleware_freertos-kernel_MIMXRT1176_cm7)
43endif()
44if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7")
45    include(middleware_freertos-kernel_MIMXRT1176_cm7)
46endif()
47if(${MCUX_DEVICE} STREQUAL "MK22F25612")
48    include(middleware_freertos-kernel_MK22F51212)
49endif()
50if(${MCUX_DEVICE} STREQUAL "MKM35Z7")
51    include(middleware_freertos-kernel_MKM35Z7)
52endif()
53if(${MCUX_DEVICE} STREQUAL "K32L2B21A")
54    include(middleware_freertos-kernel_K32L2B31A)
55endif()
56if(${MCUX_DEVICE} STREQUAL "MIMXRT1061")
57    include(middleware_freertos-kernel_MIMXRT1062)
58endif()
59if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm4")
60    include(middleware_freertos-kernel_MIMXRT1166_cm4)
61endif()
62if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7")
63    include(middleware_freertos-kernel_MIMXRT1166_cm7)
64endif()
65if(${MCUX_DEVICE} STREQUAL "MKM34Z7")
66    include(middleware_freertos-kernel_MKM34Z7)
67endif()
68if(${MCUX_DEVICE} STREQUAL "MKV31F12810")
69    include(middleware_freertos-kernel_MKV31F51212)
70endif()
71if(${MCUX_DEVICE} STREQUAL "MKE17Z7")
72    include(middleware_freertos-kernel_MKE17Z7)
73endif()
74if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7")
75    include(middleware_freertos-kernel_MIMXRT1176_cm7)
76endif()
77if(${MCUX_DEVICE} STREQUAL "K32L2A31A")
78    include(middleware_freertos-kernel_K32L2A41A)
79endif()
80if(${MCUX_DEVICE} STREQUAL "MCIMX7U5")
81    include(middleware_freertos-kernel_MCIMX7U5)
82endif()
83if(${MCUX_DEVICE} STREQUAL "MIMXRT1024")
84    include(middleware_freertos-kernel_MIMXRT1024)
85endif()
86if(${MCUX_DEVICE} STREQUAL "MIMXRT1011")
87    include(middleware_freertos-kernel_MIMXRT1011)
88endif()
89if(${MCUX_DEVICE} STREQUAL "MKE14Z4")
90    include(middleware_freertos-kernel_MKE16Z4)
91endif()
92if(${MCUX_DEVICE} STREQUAL "MKV31F25612")
93    include(middleware_freertos-kernel_MKV31F51212)
94endif()
95if(${MCUX_DEVICE} STREQUAL "K32L2A41A")
96    include(middleware_freertos-kernel_K32L2A41A)
97endif()
98if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7")
99    include(middleware_freertos-kernel_MIMXRT1176_cm7)
100endif()
101if(${MCUX_DEVICE} STREQUAL "MCIMX7U3")
102    include(middleware_freertos-kernel_MCIMX7U5)
103endif()
104if(${MCUX_DEVICE} STREQUAL "MIMXRT1015")
105    include(middleware_freertos-kernel_MIMXRT1015)
106endif()
107if(${MCUX_DEVICE} STREQUAL "MK66F18")
108    include(middleware_freertos-kernel_MK66F18)
109endif()
110if(${MCUX_DEVICE} STREQUAL "MK65F18")
111    include(middleware_freertos-kernel_MK66F18)
112endif()
113if(${MCUX_DEVICE} STREQUAL "MK26F18")
114    include(middleware_freertos-kernel_MK66F18)
115endif()
116if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core0")
117    include(middleware_freertos-kernel_MIMX8QM6_cm4_core0)
118endif()
119if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core1")
120    include(middleware_freertos-kernel_MIMX8QM6_cm4_core1)
121endif()
122if(${MCUX_DEVICE} STREQUAL "MIMX8QX6")
123    include(middleware_freertos-kernel_MIMX8QX6)
124endif()
125if(${MCUX_DEVICE} STREQUAL "MIMX8UX6")
126    include(middleware_freertos-kernel_MIMX8QX6)
127endif()
128if(${MCUX_DEVICE} STREQUAL "MIMX8UX5")
129    include(middleware_freertos-kernel_MIMX8QX6)
130endif()
131if(${MCUX_DEVICE} STREQUAL "MIMX8QX2")
132    include(middleware_freertos-kernel_MIMX8QX6)
133endif()
134if(${MCUX_DEVICE} STREQUAL "MIMX8QX3")
135    include(middleware_freertos-kernel_MIMX8QX6)
136endif()
137if(${MCUX_DEVICE} STREQUAL "MIMX8QX5")
138    include(middleware_freertos-kernel_MIMX8QX6)
139endif()
140if(${MCUX_DEVICE} STREQUAL "MIMX8QX4")
141    include(middleware_freertos-kernel_MIMX8QX6)
142endif()
143if(${MCUX_DEVICE} STREQUAL "MIMX8DX4")
144    include(middleware_freertos-kernel_MIMX8QX6)
145endif()
146if(${MCUX_DEVICE} STREQUAL "MIMX8DX2")
147    include(middleware_freertos-kernel_MIMX8QX6)
148endif()
149if(${MCUX_DEVICE} STREQUAL "MIMX8QX1")
150    include(middleware_freertos-kernel_MIMX8QX6)
151endif()
152if(${MCUX_DEVICE} STREQUAL "MIMX8DX3")
153    include(middleware_freertos-kernel_MIMX8QX6)
154endif()
155if(${MCUX_DEVICE} STREQUAL "MIMX8DX6")
156    include(middleware_freertos-kernel_MIMX8QX6)
157endif()
158if(${MCUX_DEVICE} STREQUAL "MIMX8DX5")
159    include(middleware_freertos-kernel_MIMX8QX6)
160endif()
161if(${MCUX_DEVICE} STREQUAL "MIMX8DX1")
162    include(middleware_freertos-kernel_MIMX8QX6)
163endif()
164if(${MCUX_DEVICE} STREQUAL "MK28FA15")
165    include(middleware_freertos-kernel_MK28FA15)
166endif()
167if(${MCUX_DEVICE} STREQUAL "MK27FA15")
168    include(middleware_freertos-kernel_MK28FA15)
169endif()
170if(${MCUX_DEVICE} STREQUAL "MKL27Z644")
171    include(middleware_freertos-kernel_MKL27Z644)
172endif()
173if(${MCUX_DEVICE} STREQUAL "MKL17Z644")
174    include(middleware_freertos-kernel_MKL27Z644)
175endif()
176
177include(driver_lpuart)
178