1#Description: USB Device Stack; user_visible: True
2include_guard(GLOBAL)
3message("middleware_usb_device_stack_external component is included.")
4
5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6    ${CMAKE_CURRENT_LIST_DIR}/output/source/device/class/usb_device_class.c
7    ${CMAKE_CURRENT_LIST_DIR}/output/source/device/usb_device_ch9.c
8)
9
10target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
11    ${CMAKE_CURRENT_LIST_DIR}/output/source/device
12    ${CMAKE_CURRENT_LIST_DIR}/output/source/device/class
13)
14
15#OR Logic component
16if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm4")
17    include(middleware_usb_device_controller_driver_MIMXRT1166_cm4)
18endif()
19if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7")
20    include(middleware_usb_device_controller_driver_MIMXRT1166_cm7)
21endif()
22if(${MCUX_DEVICE} STREQUAL "MIMXRT1052")
23    include(middleware_usb_device_controller_driver_MIMXRT1052)
24endif()
25if(${MCUX_DEVICE} STREQUAL "MK22F12810")
26    include(middleware_usb_device_controller_driver_MK22F51212)
27endif()
28if(${MCUX_DEVICE} STREQUAL "MIMXRT633S_cm33")
29    include(middleware_usb_device_controller_driver_MIMXRT685S_cm33)
30endif()
31if(${MCUX_DEVICE} STREQUAL "MIMXRT1064")
32    include(middleware_usb_device_controller_driver_MIMXRT1064)
33endif()
34if(${MCUX_DEVICE} STREQUAL "LPC5526")
35    include(middleware_usb_device_controller_driver_LPC55S28)
36endif()
37if(${MCUX_DEVICE} STREQUAL "LPC54607")
38    include(middleware_usb_device_controller_driver_LPC54628)
39endif()
40if(${MCUX_DEVICE} STREQUAL "LPC54S016")
41    include(middleware_usb_device_controller_driver_LPC54S018)
42endif()
43if(${MCUX_DEVICE} STREQUAL "LPC54606")
44    include(middleware_usb_device_controller_driver_LPC54628)
45endif()
46if(${MCUX_DEVICE} STREQUAL "LPC54616")
47    include(middleware_usb_device_controller_driver_LPC54628)
48endif()
49if(${MCUX_DEVICE} STREQUAL "K32L2B31A")
50    include(middleware_usb_device_controller_driver_K32L2B31A)
51endif()
52if(${MCUX_DEVICE} STREQUAL "LPC54016")
53    include(middleware_usb_device_controller_driver_LPC54S018)
54endif()
55if(${MCUX_DEVICE} STREQUAL "LPC54018")
56    include(middleware_usb_device_controller_driver_LPC54S018)
57endif()
58if(${MCUX_DEVICE} STREQUAL "LPC54628")
59    include(middleware_usb_device_controller_driver_LPC54628)
60endif()
61if(${MCUX_DEVICE} STREQUAL "LPC5512")
62    include(middleware_usb_device_controller_driver_LPC55S16)
63endif()
64if(${MCUX_DEVICE} STREQUAL "MK22F51212")
65    include(middleware_usb_device_controller_driver_MK22F51212)
66endif()
67if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4")
68    include(middleware_usb_device_controller_driver_MIMXRT1176_cm4)
69endif()
70if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7")
71    include(middleware_usb_device_controller_driver_MIMXRT1176_cm7)
72endif()
73if(${MCUX_DEVICE} STREQUAL "LPC5516")
74    include(middleware_usb_device_controller_driver_LPC55S16)
75endif()
76if(${MCUX_DEVICE} STREQUAL "LPC54605")
77    include(middleware_usb_device_controller_driver_LPC54628)
78endif()
79if(${MCUX_DEVICE} STREQUAL "MIMXRT1051")
80    include(middleware_usb_device_controller_driver_MIMXRT1052)
81endif()
82if(${MCUX_DEVICE} STREQUAL "LPC54618")
83    include(middleware_usb_device_controller_driver_LPC54628)
84endif()
85if(${MCUX_DEVICE} STREQUAL "MIMXRT1021")
86    include(middleware_usb_device_controller_driver_MIMXRT1021)
87endif()
88if(${MCUX_DEVICE} STREQUAL "MIMXRT555S_cm33")
89    include(middleware_usb_device_controller_driver_MIMXRT595S_cm33)
90endif()
91if(${MCUX_DEVICE} STREQUAL "LPC54018M")
92    include(middleware_usb_device_controller_driver_LPC54S018M)
93endif()
94if(${MCUX_DEVICE} STREQUAL "LPC5514")
95    include(middleware_usb_device_controller_driver_LPC55S16)
96endif()
97if(${MCUX_DEVICE} STREQUAL "LPC55S16")
98    include(middleware_usb_device_controller_driver_LPC55S16)
99endif()
100if(${MCUX_DEVICE} STREQUAL "K32L2B11A")
101    include(middleware_usb_device_controller_driver_K32L2B31A)
102endif()
103if(${MCUX_DEVICE} STREQUAL "MIMXRT1062")
104    include(middleware_usb_device_controller_driver_MIMXRT1062)
105endif()
106if(${MCUX_DEVICE} STREQUAL "LPC54S018")
107    include(middleware_usb_device_controller_driver_LPC54S018)
108endif()
109if(${MCUX_DEVICE} STREQUAL "MIMXRT1042")
110    include(middleware_usb_device_controller_driver_MIMXRT1042)
111endif()
112if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4")
113    include(middleware_usb_device_controller_driver_MIMXRT1176_cm4)
114endif()
115if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7")
116    include(middleware_usb_device_controller_driver_MIMXRT1176_cm7)
117endif()
118if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4")
119    include(middleware_usb_device_controller_driver_MIMXRT1176_cm4)
120endif()
121if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7")
122    include(middleware_usb_device_controller_driver_MIMXRT1176_cm7)
123endif()
124if(${MCUX_DEVICE} STREQUAL "LPC54S018M")
125    include(middleware_usb_device_controller_driver_LPC54S018M)
126endif()
127if(${MCUX_DEVICE} STREQUAL "MK22F25612")
128    include(middleware_usb_device_controller_driver_MK22F51212)
129endif()
130if(${MCUX_DEVICE} STREQUAL "K32L2B21A")
131    include(middleware_usb_device_controller_driver_K32L2B31A)
132endif()
133if(${MCUX_DEVICE} STREQUAL "MIMXRT1061")
134    include(middleware_usb_device_controller_driver_MIMXRT1062)
135endif()
136if(${MCUX_DEVICE} STREQUAL "LPC5528")
137    include(middleware_usb_device_controller_driver_LPC55S28)
138endif()
139if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm4")
140    include(middleware_usb_device_controller_driver_MIMXRT1166_cm4)
141endif()
142if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7")
143    include(middleware_usb_device_controller_driver_MIMXRT1166_cm7)
144endif()
145if(${MCUX_DEVICE} STREQUAL "LPC55S66_cm33_core0")
146    include(middleware_usb_device_controller_driver_LPC55S69_cm33_core0)
147endif()
148if(${MCUX_DEVICE} STREQUAL "LPC54S005")
149    include(middleware_usb_device_controller_driver_LPC54S018)
150endif()
151if(${MCUX_DEVICE} STREQUAL "LPC55S69_cm33_core0")
152    include(middleware_usb_device_controller_driver_LPC55S69_cm33_core0)
153endif()
154if(${MCUX_DEVICE} STREQUAL "K32L2A31A")
155    include(middleware_usb_device_controller_driver_K32L2A41A)
156endif()
157if(${MCUX_DEVICE} STREQUAL "MIMXRT1024")
158    include(middleware_usb_device_controller_driver_MIMXRT1024)
159endif()
160if(${MCUX_DEVICE} STREQUAL "MIMXRT1011")
161    include(middleware_usb_device_controller_driver_MIMXRT1011)
162endif()
163if(${MCUX_DEVICE} STREQUAL "LPC54005")
164    include(middleware_usb_device_controller_driver_LPC54S018)
165endif()
166if(${MCUX_DEVICE} STREQUAL "LPC55S28")
167    include(middleware_usb_device_controller_driver_LPC55S28)
168endif()
169if(${MCUX_DEVICE} STREQUAL "MIMXRT533S_cm33")
170    include(middleware_usb_device_controller_driver_MIMXRT595S_cm33)
171endif()
172if(${MCUX_DEVICE} STREQUAL "LPC55S14")
173    include(middleware_usb_device_controller_driver_LPC55S16)
174endif()
175if(${MCUX_DEVICE} STREQUAL "LPC55S26")
176    include(middleware_usb_device_controller_driver_LPC55S28)
177endif()
178if(${MCUX_DEVICE} STREQUAL "K32L2A41A")
179    include(middleware_usb_device_controller_driver_K32L2A41A)
180endif()
181if(${MCUX_DEVICE} STREQUAL "LPC54608")
182    include(middleware_usb_device_controller_driver_LPC54628)
183endif()
184if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33")
185    include(middleware_usb_device_controller_driver_MIMXRT685S_cm33)
186endif()
187if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33")
188    include(middleware_usb_device_controller_driver_MIMXRT595S_cm33)
189endif()
190if(${MCUX_DEVICE} STREQUAL "MIMXRT1015")
191    include(middleware_usb_device_controller_driver_MIMXRT1015)
192endif()
193if(${MCUX_DEVICE} STREQUAL "MK64F12")
194    include(middleware_usb_device_controller_driver_MK64F12)
195endif()
196if(${MCUX_DEVICE} STREQUAL "MK66F18")
197    include(middleware_usb_device_controller_driver_MK66F18)
198endif()
199
200