1#Description: USB Host MSD; user_visible: True
2include_guard(GLOBAL)
3message("middleware_usb_host_msd component is included.")
4
5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6    ${CMAKE_CURRENT_LIST_DIR}/host/class/usb_host_msd.c
7    ${CMAKE_CURRENT_LIST_DIR}/host/class/usb_host_msd_ufi.c
8)
9
10target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
11    ${CMAKE_CURRENT_LIST_DIR}/host/class
12)
13
14#OR Logic component
15if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7")
16    include(middleware_usb_host_stack_MIMXRT1166_cm7)
17endif()
18if(${MCUX_DEVICE} STREQUAL "MIMXRT1052")
19    include(middleware_usb_host_stack_MIMXRT1052)
20endif()
21if(${MCUX_DEVICE} STREQUAL "MK22F12810")
22    include(middleware_usb_host_stack_MK22F51212)
23endif()
24if(${MCUX_DEVICE} STREQUAL "MIMXRT633S_cm33")
25    include(middleware_usb_host_stack_MIMXRT685S_cm33)
26endif()
27if(${MCUX_DEVICE} STREQUAL "MIMXRT1064")
28    include(middleware_usb_host_stack_MIMXRT1064)
29endif()
30if(${MCUX_DEVICE} STREQUAL "LPC5526")
31    include(middleware_usb_host_stack_LPC55S28)
32endif()
33if(${MCUX_DEVICE} STREQUAL "LPC54607")
34    include(middleware_usb_host_stack_LPC54628)
35endif()
36if(${MCUX_DEVICE} STREQUAL "LPC54S016")
37    include(middleware_usb_host_stack_LPC54S018)
38endif()
39if(${MCUX_DEVICE} STREQUAL "LPC54606")
40    include(middleware_usb_host_stack_LPC54628)
41endif()
42if(${MCUX_DEVICE} STREQUAL "LPC54616")
43    include(middleware_usb_host_stack_LPC54628)
44endif()
45if(${MCUX_DEVICE} STREQUAL "LPC54016")
46    include(middleware_usb_host_stack_LPC54S018)
47endif()
48if(${MCUX_DEVICE} STREQUAL "LPC54018")
49    include(middleware_usb_host_stack_LPC54S018)
50endif()
51if(${MCUX_DEVICE} STREQUAL "LPC54628")
52    include(middleware_usb_host_stack_LPC54628)
53endif()
54if(${MCUX_DEVICE} STREQUAL "LPC5512")
55    include(middleware_usb_host_stack_LPC55S16)
56endif()
57if(${MCUX_DEVICE} STREQUAL "MK22F51212")
58    include(middleware_usb_host_stack_MK22F51212)
59endif()
60if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4")
61    include(middleware_usb_host_stack_MIMXRT1176_cm4)
62endif()
63if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7")
64    include(middleware_usb_host_stack_MIMXRT1176_cm7)
65endif()
66if(${MCUX_DEVICE} STREQUAL "LPC5516")
67    include(middleware_usb_host_stack_LPC55S16)
68endif()
69if(${MCUX_DEVICE} STREQUAL "LPC54605")
70    include(middleware_usb_host_stack_LPC54628)
71endif()
72if(${MCUX_DEVICE} STREQUAL "MIMXRT1051")
73    include(middleware_usb_host_stack_MIMXRT1052)
74endif()
75if(${MCUX_DEVICE} STREQUAL "LPC54618")
76    include(middleware_usb_host_stack_LPC54628)
77endif()
78if(${MCUX_DEVICE} STREQUAL "MIMXRT1021")
79    include(middleware_usb_host_stack_MIMXRT1021)
80endif()
81if(${MCUX_DEVICE} STREQUAL "MIMXRT555S_cm33")
82    include(middleware_usb_host_stack_MIMXRT595S_cm33)
83endif()
84if(${MCUX_DEVICE} STREQUAL "LPC54018M")
85    include(middleware_usb_host_stack_LPC54S018M)
86endif()
87if(${MCUX_DEVICE} STREQUAL "LPC5514")
88    include(middleware_usb_host_stack_LPC55S16)
89endif()
90if(${MCUX_DEVICE} STREQUAL "LPC55S16")
91    include(middleware_usb_host_stack_LPC55S16)
92endif()
93if(${MCUX_DEVICE} STREQUAL "MIMXRT1062")
94    include(middleware_usb_host_stack_MIMXRT1062)
95endif()
96if(${MCUX_DEVICE} STREQUAL "LPC54S018")
97    include(middleware_usb_host_stack_LPC54S018)
98endif()
99if(${MCUX_DEVICE} STREQUAL "MIMXRT1042")
100    include(middleware_usb_host_stack_MIMXRT1042)
101endif()
102if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4")
103    include(middleware_usb_host_stack_MIMXRT1176_cm4)
104endif()
105if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7")
106    include(middleware_usb_host_stack_MIMXRT1176_cm7)
107endif()
108if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4")
109    include(middleware_usb_host_stack_MIMXRT1176_cm4)
110endif()
111if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7")
112    include(middleware_usb_host_stack_MIMXRT1176_cm7)
113endif()
114if(${MCUX_DEVICE} STREQUAL "LPC54S018M")
115    include(middleware_usb_host_stack_LPC54S018M)
116endif()
117if(${MCUX_DEVICE} STREQUAL "MK22F25612")
118    include(middleware_usb_host_stack_MK22F51212)
119endif()
120if(${MCUX_DEVICE} STREQUAL "MIMXRT1061")
121    include(middleware_usb_host_stack_MIMXRT1062)
122endif()
123if(${MCUX_DEVICE} STREQUAL "LPC5528")
124    include(middleware_usb_host_stack_LPC55S28)
125endif()
126if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7")
127    include(middleware_usb_host_stack_MIMXRT1166_cm7)
128endif()
129if(${MCUX_DEVICE} STREQUAL "LPC55S66_cm33_core0")
130    include(middleware_usb_host_stack_LPC55S69_cm33_core0)
131endif()
132if(${MCUX_DEVICE} STREQUAL "LPC54S005")
133    include(middleware_usb_host_stack_LPC54S018)
134endif()
135if(${MCUX_DEVICE} STREQUAL "LPC55S69_cm33_core0")
136    include(middleware_usb_host_stack_LPC55S69_cm33_core0)
137endif()
138if(${MCUX_DEVICE} STREQUAL "K32L2A31A")
139    include(middleware_usb_host_stack_K32L2A41A)
140endif()
141if(${MCUX_DEVICE} STREQUAL "MIMXRT1024")
142    include(middleware_usb_host_stack_MIMXRT1024)
143endif()
144if(${MCUX_DEVICE} STREQUAL "MIMXRT1011")
145    include(middleware_usb_host_stack_MIMXRT1011)
146endif()
147if(${MCUX_DEVICE} STREQUAL "LPC54005")
148    include(middleware_usb_host_stack_LPC54S018)
149endif()
150if(${MCUX_DEVICE} STREQUAL "LPC55S28")
151    include(middleware_usb_host_stack_LPC55S28)
152endif()
153if(${MCUX_DEVICE} STREQUAL "MIMXRT533S_cm33")
154    include(middleware_usb_host_stack_MIMXRT595S_cm33)
155endif()
156if(${MCUX_DEVICE} STREQUAL "LPC55S14")
157    include(middleware_usb_host_stack_LPC55S16)
158endif()
159if(${MCUX_DEVICE} STREQUAL "LPC55S26")
160    include(middleware_usb_host_stack_LPC55S28)
161endif()
162if(${MCUX_DEVICE} STREQUAL "K32L2A41A")
163    include(middleware_usb_host_stack_K32L2A41A)
164endif()
165if(${MCUX_DEVICE} STREQUAL "LPC54608")
166    include(middleware_usb_host_stack_LPC54628)
167endif()
168if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33")
169    include(middleware_usb_host_stack_MIMXRT685S_cm33)
170endif()
171if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33")
172    include(middleware_usb_host_stack_MIMXRT595S_cm33)
173endif()
174if(${MCUX_DEVICE} STREQUAL "MIMXRT1015")
175    include(middleware_usb_host_stack_MIMXRT1015)
176endif()
177if(${MCUX_DEVICE} STREQUAL "MK64F12")
178    include(middleware_usb_host_stack_MK64F12)
179endif()
180if(${MCUX_DEVICE} STREQUAL "MK66F18")
181    include(middleware_usb_host_stack_MK66F18)
182endif()
183
184