-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
322 lines (258 loc) · 21.8 KB
/
Copy pathCMakeLists.txt
File metadata and controls
322 lines (258 loc) · 21.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# origin-pack: STMicroelectronics::CMSIS@6.3.0
# file-format: 1.0.0
project(STMicroelectronics_CMSIS_6_3_0)
cmake_minimum_required(VERSION 3.20)
add_library(STMicroelectronics_CMSIS_6_3_0 INTERFACE)
# List of all CMSIS properties that influence conditions for this package
if(NOT DEFINED CMSIS_Dcore)
set(CMSIS_Dcore "CMSIS_Dcore not set")
message(DEBUG "CMSIS_Dcore is not set to any value")
endif()
if(NOT DEFINED CMSIS_Dsecure)
set(CMSIS_Dsecure "CMSIS_Dsecure not set")
message(DEBUG "CMSIS_Dsecure is not set to any value")
endif()
if(NOT DEFINED CMSIS_Dtz)
set(CMSIS_Dtz "CMSIS_Dtz not set")
message(DEBUG "CMSIS_Dtz is not set to any value")
endif()
# Device specific defined symbols
# Enable all components in this package
if(CMSIS_ENTIRE_STMicroelectronics_CMSIS_6_3_0)
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:CORE#Cversion:6.2.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:CORE#Cversion:6.2.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:Device#Cgroup:IRQ Controller#Csub:GIC#Cversion:1.2.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:OS Tick#Csub:SysTick#Cversion:1.0.5")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:OS Tick#Csub:Private Timer#Cversion:1.0.2")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:OS Tick#Csub:Generic Physical Timer#Cversion:1.0.1")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:USART#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:SPI#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:SAI#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:I2C#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:CAN#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Flash#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:MCI#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:NAND#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Ethernet#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Ethernet MAC#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Ethernet PHY#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:USB Device#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:USB Host#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:GPIO#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:WiFi#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:VIO#Csub:Custom#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:VIO#Csub:Virtual#Cversion:1.0.0")
list(APPEND CMSIS_COMPONENTS_LIST "Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:vStream#Csub:Custom#Cversion:1.0.0")
endif()
# All conditions used by this package
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv6-M Device
# description: Armv6-M architecture based device
if((CMSIS_Dcore STREQUAL "Cortex-M0" OR CMSIS_Dcore STREQUAL "Cortex-M1" OR CMSIS_Dcore STREQUAL "Cortex-M0+" OR CMSIS_Dcore STREQUAL "SC000"))
set(STMicroelectronics.CMSIS.6.3.0_ARMv6-M_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv6-M_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv6-M_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv6_7_8-M Device
# description: Armv6_7_8-M architecture based device
if(((CMSIS_Dcore STREQUAL "Cortex-M0" OR CMSIS_Dcore STREQUAL "Cortex-M1" OR CMSIS_Dcore STREQUAL "Cortex-M0+" OR CMSIS_Dcore STREQUAL "SC000") OR (CMSIS_Dcore STREQUAL "Cortex-M3" OR CMSIS_Dcore STREQUAL "Cortex-M4" OR CMSIS_Dcore STREQUAL "Cortex-M7" OR CMSIS_Dcore STREQUAL "SC300") OR ((CMSIS_Dcore STREQUAL "ARMV8MBL" OR CMSIS_Dcore STREQUAL "Cortex-M23") OR (CMSIS_Dcore STREQUAL "ARMV8MML" OR CMSIS_Dcore STREQUAL "Cortex-M33" OR CMSIS_Dcore STREQUAL "Cortex-M35P" OR CMSIS_Dcore STREQUAL "Star-MC1") OR (CMSIS_Dcore STREQUAL "ARMV81MML" OR CMSIS_Dcore STREQUAL "Cortex-M52" OR CMSIS_Dcore STREQUAL "Cortex-M55" OR CMSIS_Dcore STREQUAL "Cortex-M85" OR CMSIS_Dcore STREQUAL "Star-MC3"))))
set(STMicroelectronics.CMSIS.6.3.0_ARMv6_7_8-M_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv6_7_8-M_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv6_7_8-M_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv7-A Device
# description: Armv7-A architecture based device
if((CMSIS_Dcore STREQUAL "Cortex-A5" OR CMSIS_Dcore STREQUAL "Cortex-A7" OR CMSIS_Dcore STREQUAL "Cortex-A9"))
set(STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv7-M Device
# description: Armv7-M architecture based device
if((CMSIS_Dcore STREQUAL "Cortex-M3" OR CMSIS_Dcore STREQUAL "Cortex-M4" OR CMSIS_Dcore STREQUAL "Cortex-M7" OR CMSIS_Dcore STREQUAL "SC300"))
set(STMicroelectronics.CMSIS.6.3.0_ARMv7-M_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv7-M_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv7-M_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv8-M Device
# description: Armv8-M architecture based device
if(((CMSIS_Dcore STREQUAL "ARMV8MBL" OR CMSIS_Dcore STREQUAL "Cortex-M23") OR (CMSIS_Dcore STREQUAL "ARMV8MML" OR CMSIS_Dcore STREQUAL "Cortex-M33" OR CMSIS_Dcore STREQUAL "Cortex-M35P" OR CMSIS_Dcore STREQUAL "Star-MC1") OR (CMSIS_Dcore STREQUAL "ARMV81MML" OR CMSIS_Dcore STREQUAL "Cortex-M52" OR CMSIS_Dcore STREQUAL "Cortex-M55" OR CMSIS_Dcore STREQUAL "Cortex-M85" OR CMSIS_Dcore STREQUAL "Star-MC3")))
set(STMicroelectronics.CMSIS.6.3.0_ARMv8-M_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv8-M_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv8-M_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv8-MBL Device
# description: Armv8-M base line architecture based device
if((CMSIS_Dcore STREQUAL "ARMV8MBL" OR CMSIS_Dcore STREQUAL "Cortex-M23"))
set(STMicroelectronics.CMSIS.6.3.0_ARMv8-MBL_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv8-MBL_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv8-MBL_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv8-MML Device
# description: Armv8-M main line architecture based device
if((CMSIS_Dcore STREQUAL "ARMV8MML" OR CMSIS_Dcore STREQUAL "Cortex-M33" OR CMSIS_Dcore STREQUAL "Cortex-M35P" OR CMSIS_Dcore STREQUAL "Star-MC1"))
set(STMicroelectronics.CMSIS.6.3.0_ARMv8-MML_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv8-MML_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv8-MML_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:ARMv81-MML Device
# description: Armv8.1-M main line architecture based device
if((CMSIS_Dcore STREQUAL "ARMV81MML" OR CMSIS_Dcore STREQUAL "Cortex-M52" OR CMSIS_Dcore STREQUAL "Cortex-M55" OR CMSIS_Dcore STREQUAL "Cortex-M85" OR CMSIS_Dcore STREQUAL "Star-MC3"))
set(STMicroelectronics.CMSIS.6.3.0_ARMv81-MML_Device "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_ARMv81-MML_Device enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_ARMv81-MML_Device 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:OS Tick GTIM
# description: Components required for OS Tick Generic Physical Timer
if(CMSIS_Dcore STREQUAL "Cortex-A7")
set(STMicroelectronics.CMSIS.6.3.0_OS_Tick_GTIM "$<NOT:$<STREQUAL:$<FILTER:${CMSIS_COMPONENTS_LIST},INCLUDE,.*Cclass:Device#.*Cgroup:IRQ Controller(#.*|$)>,>>")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_OS_Tick_GTIM enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_OS_Tick_GTIM 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:OS Tick PTIM
# description: Components required for OS Tick Private Timer
if((CMSIS_Dcore STREQUAL "Cortex-A5" OR CMSIS_Dcore STREQUAL "Cortex-A9"))
set(STMicroelectronics.CMSIS.6.3.0_OS_Tick_PTIM "$<NOT:$<STREQUAL:$<FILTER:${CMSIS_COMPONENTS_LIST},INCLUDE,.*Cclass:Device#.*Cgroup:IRQ Controller(#.*|$)>,>>")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_OS_Tick_PTIM enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_OS_Tick_PTIM 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:OS Tick SysTick
# description: Components required for OS Tick SysTick Timer
if(((CMSIS_Dcore STREQUAL "Cortex-M0" OR CMSIS_Dcore STREQUAL "Cortex-M1" OR CMSIS_Dcore STREQUAL "Cortex-M0+" OR CMSIS_Dcore STREQUAL "SC000") OR (CMSIS_Dcore STREQUAL "Cortex-M3" OR CMSIS_Dcore STREQUAL "Cortex-M4" OR CMSIS_Dcore STREQUAL "Cortex-M7" OR CMSIS_Dcore STREQUAL "SC300") OR ((CMSIS_Dcore STREQUAL "ARMV8MBL" OR CMSIS_Dcore STREQUAL "Cortex-M23") OR (CMSIS_Dcore STREQUAL "ARMV8MML" OR CMSIS_Dcore STREQUAL "Cortex-M33" OR CMSIS_Dcore STREQUAL "Cortex-M35P" OR CMSIS_Dcore STREQUAL "Star-MC1") OR (CMSIS_Dcore STREQUAL "ARMV81MML" OR CMSIS_Dcore STREQUAL "Cortex-M52" OR CMSIS_Dcore STREQUAL "Cortex-M55" OR CMSIS_Dcore STREQUAL "Cortex-M85" OR CMSIS_Dcore STREQUAL "Star-MC3"))))
set(STMicroelectronics.CMSIS.6.3.0_OS_Tick_SysTick "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_OS_Tick_SysTick enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_OS_Tick_SysTick 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:TZ Secure
# description: TrustZone (Secure)
if(((CMSIS_Dsecure STREQUAL "Secure" OR CMSIS_Dsecure STREQUAL "Secure-only") AND
CMSIS_Dtz STREQUAL "TZ"))
set(STMicroelectronics.CMSIS.6.3.0_TZ_Secure "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_TZ_Secure enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_TZ_Secure 0)
endif()
# condition: STMicroelectronics.CMSIS.6.3.0:TrustZone
# description: TrustZone
if((CMSIS_Dtz STREQUAL "TZ" AND NOT
CMSIS_Dsecure STREQUAL "TZ-disabled"))
set(STMicroelectronics.CMSIS.6.3.0_TrustZone "1")
message(DEBUG "CMSIS condition STMicroelectronics.CMSIS.6.3.0_TrustZone enabled")
else()
set(STMicroelectronics.CMSIS.6.3.0_TrustZone 0)
endif()
# Files and components in this package
if("Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:CORE#Cversion:6.2.0" IN_LIST CMSIS_COMPONENTS_LIST) # CMSIS-CORE for Cortex-M, SC000, SC300, Star-MC, ARMv8-M, ARMv8.1-M
message(DEBUG "Using component CMSIS_CORE_6_2_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_ARMv6_7_8-M_Device}:-DCMSIS_USE_CMSIS_CORE_6_2_0=1>")
target_include_directories(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_ARMv6_7_8-M_Device}:${CMAKE_CURRENT_LIST_DIR}/CMSIS/Core/Include/>")
target_include_directories(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<$<AND:${STMicroelectronics.CMSIS.6.3.0_ARMv6_7_8-M_Device},${STMicroelectronics.CMSIS.6.3.0_TrustZone}>:${CMAKE_CURRENT_LIST_DIR}/CMSIS/Core/Include>")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:CORE#Cversion:6.2.0" IN_LIST CMSIS_COMPONENTS_LIST) # CMSIS-CORE for Cortex-A
message(DEBUG "Using component CMSIS_CORE_6_2_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device}:-DCMSIS_USE_CMSIS_CORE_6_2_0=1>")
target_include_directories(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device}:${CMAKE_CURRENT_LIST_DIR}/CMSIS/Core/Include/>")
endif()
if("Cvendor:STMicroelectronics#Cclass:Device#Cgroup:IRQ Controller#Csub:GIC#Cversion:1.2.0" IN_LIST CMSIS_COMPONENTS_LIST) # IRQ Controller implementation using GIC
message(DEBUG "Using component Device_IRQ_Controller_GIC_1_2_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device}:-DCMSIS_USE_Device_IRQ_Controller_GIC_1_2_0=1>")
target_sources(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_ARMv7-A_Device}:${CMAKE_CURRENT_LIST_DIR}/CMSIS/Core/Source/irq_ctrl_gic.c>")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:OS Tick#Csub:SysTick#Cversion:1.0.5" IN_LIST CMSIS_COMPONENTS_LIST) # OS Tick implementation using Cortex-M SysTick Timer
message(DEBUG "Using component CMSIS_OS_Tick_SysTick_1_0_5")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_OS_Tick_SysTick}:-DCMSIS_USE_CMSIS_OS_Tick_SysTick_1_0_5=1>")
target_sources(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_OS_Tick_SysTick}:${CMAKE_CURRENT_LIST_DIR}/CMSIS/RTOS2/Source/os_systick.c>")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:OS Tick#Csub:Private Timer#Cversion:1.0.2" IN_LIST CMSIS_COMPONENTS_LIST) # OS Tick implementation using Private Timer
message(DEBUG "Using component CMSIS_OS_Tick_Private_Timer_1_0_2")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_OS_Tick_PTIM}:-DCMSIS_USE_CMSIS_OS_Tick_Private_Timer_1_0_2=1>")
target_sources(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_OS_Tick_PTIM}:${CMAKE_CURRENT_LIST_DIR}/CMSIS/RTOS2/Source/os_tick_ptim.c>")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS#Cgroup:OS Tick#Csub:Generic Physical Timer#Cversion:1.0.1" IN_LIST CMSIS_COMPONENTS_LIST) # OS Tick implementation using Generic Physical Timer
message(DEBUG "Using component CMSIS_OS_Tick_Generic_Physical_Timer_1_0_1")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_OS_Tick_GTIM}:-DCMSIS_USE_CMSIS_OS_Tick_Generic_Physical_Timer_1_0_1=1>")
target_sources(STMicroelectronics_CMSIS_6_3_0 INTERFACE "$<${STMicroelectronics.CMSIS.6.3.0_OS_Tick_GTIM}:${CMAKE_CURRENT_LIST_DIR}/CMSIS/RTOS2/Source/os_tick_gtim.c>")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:USART#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_USART.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_USART_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_USART_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:SPI#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_SPI.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_SPI_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_SPI_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:SAI#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_SAI.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_SAI_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_SAI_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:I2C#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_I2C.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_I2C_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_I2C_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:CAN#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_CAN.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_CAN_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_CAN_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Flash#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_Flash.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_Flash_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_Flash_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:MCI#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_MCI.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_MCI_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_MCI_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:NAND#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_NAND.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_NAND_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_NAND_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Ethernet#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_ETH_PHY/MAC.h files and code templates for custom implementation
message(DEBUG "Using component CMSIS_Driver_Ethernet_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_Ethernet_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Ethernet MAC#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_ETH_MAC.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_Ethernet_MAC_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_Ethernet_MAC_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:Ethernet PHY#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_ETH_PHY.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_Ethernet_PHY_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_Ethernet_PHY_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:USB Device#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_USBD.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_USB_Device_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_USB_Device_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:USB Host#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_USBH.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_USB_Host_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_USB_Host_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:GPIO#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_GPIO.h file and code template for custom implementation
message(DEBUG "Using component CMSIS_Driver_GPIO_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_GPIO_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:WiFi#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Access to #include Driver_WiFi.h file
message(DEBUG "Using component CMSIS_Driver_WiFi_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_WiFi_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:VIO#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Virtual I/O custom implementation template
message(DEBUG "Using component CMSIS_Driver_VIO_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_VIO_Custom_1_0_0=1")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:VIO#Csub:Virtual#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Virtual I/O implementation using memory only
message(DEBUG "Using component CMSIS_Driver_VIO_Virtual_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_VIO_Virtual_1_0_0=1")
target_sources(STMicroelectronics_CMSIS_6_3_0 INTERFACE "${CMAKE_CURRENT_LIST_DIR}/CMSIS/Driver/VIO/Source/vio_memory.c")
endif()
if("Cvendor:STMicroelectronics#Cclass:CMSIS Driver#Cgroup:vStream#Csub:Custom#Cversion:1.0.0" IN_LIST CMSIS_COMPONENTS_LIST) # Virtual Streaming interface Driver custom implementation template
message(DEBUG "Using component CMSIS_Driver_vStream_Custom_1_0_0")
target_compile_definitions(STMicroelectronics_CMSIS_6_3_0 INTERFACE "-DCMSIS_USE_CMSIS_Driver_vStream_Custom_1_0_0=1")
endif()