1 #
2 # Copyright (c) 2017 - 2019, Texas Instruments Incorporated
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 #
12 # * Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in the
14 # documentation and/or other materials provided with the distribution.
15 #
16 # * Neither the name of Texas Instruments Incorporated nor the names of
17 # its contributors may be used to endorse or promote products derived
18 # from this software without specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #
33 # File: uart_component.mk
34 # This file is component include make file of UART library.
35 # List of variables set in this file and their purpose:
36 # <mod>_RELPATH - This is the relative path of the module, typically from
37 # top-level directory of the package
38 # <mod>_PATH - This is the absolute path of the module. It derives from
39 # absolute path of the top-level directory (set in env.mk)
40 # and relative path set above
41 # <mod>_INCLUDE - This is the path that has interface header files of the
42 # module. This can be multiple directories (space separated)
43 # <mod>_PKG_LIST - Names of the modules (and sub-modules) that are a part
44 # part of this module, including itself.
45 # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on
46 # platform and the compiled obj/lib has to be kept
47 # under <platform> directory
48 # "no" or "" or if this variable is not defined: means
49 # this module has no platform dependent code and hence
50 # the obj/libs are not kept under <platform> dir.
51 # <mod>_CORE_DEPENDENCY - "yes": means the code for this module depends on
52 # core and the compiled obj/lib has to be kept
53 # under <core> directory
54 # "no" or "" or if this variable is not defined: means
55 # this module has no core dependent code and hence
56 # the obj/libs are not kept under <core> dir.
57 # <mod>_APP_STAGE_FILES - List of source files that belongs to the module
58 # <mod>, but that needs to be compiled at application
59 # build stage (in the context of the app). This is
60 # primarily for link time configurations or if the
61 # source file is dependent on options/defines that are
62 # application dependent. This can be left blank or
63 # not defined at all, in which case, it means there
64 # no source files in the module <mod> that are required
65 # to be compiled in the application build stage.
66 #
67 ifeq ($(uart_component_make_include), )
69 # under other list
70 drvuart_BOARDLIST = am65xx_evm am65xx_idk j721e_sim j721e_evm j7200_evm
71 drvuart_dma_SOCLIST = tda2xx tda2px dra72x dra75x tda2ex tda3xx dra78x am574x am572x am571x k2h k2k k2l k2e k2g c6678 c6657 omapl137 omapl138 am437x am65xx j721e j7200
72 drvuart_SOCLIST = tda2xx tda2px dra72x dra75x tda2ex tda3xx dra78x am574x am572x am571x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx j721e j7200
73 drvuart_tda2xx_CORELIST = ipu1_0
74 drvuart_tda2px_CORELIST = ipu1_0
75 drvuart_tda2ex_CORELIST = ipu1_0
76 drvuart_tda3xx_CORELIST = ipu1_0
77 drvuart_dra78x_CORELIST = c66x ipu1_0
78 drvuart_am574x_CORELIST = c66x a15_0 ipu1_0
79 drvuart_am572x_CORELIST = c66x a15_0 ipu1_0
80 drvuart_am571x_CORELIST = c66x a15_0 ipu1_0
81 drvuart_dra72x_CORELIST = c66x a15_0 ipu1_0
82 drvuart_dra75x_CORELIST = c66x a15_0 ipu1_0
83 drvuart_k2h_CORELIST = c66x a15_0
84 drvuart_k2k_CORELIST = c66x a15_0
85 drvuart_k2l_CORELIST = c66x a15_0
86 drvuart_k2e_CORELIST = c66x a15_0
87 drvuart_k2g_CORELIST = c66x a15_0
88 drvuart_omapl137_CORELIST = c674x arm9_0
89 drvuart_omapl138_CORELIST = c674x arm9_0
90 drvuart_c6678_CORELIST = c66x
91 drvuart_c6657_CORELIST = c66x
92 drvuart_am437x_CORELIST = a9host
93 drvuart_am335x_CORELIST = a8host pru_0 pru_1
94 drvuart_am65xx_CORELIST = mpu1_0 mcu1_0 mcu1_1
95 drvuart_j721e_CORELIST = $(DEFAULT_j721e_CORELIST)
96 drvuart_j721e_CORELISTARM = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
97 drvuart_j7200_CORELIST = $(DEFAULT_j7200_CORELIST)
98 drvuart_j7200_CORELISTARM = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1
100 ############################
101 # uart package
102 # List of components included under uart lib
103 # The components included here are built and will be part of uart lib
104 ############################
105 uart_LIB_LIST = uart uart_dma uart_profile uart_dma_profile uart_indp uart_profile_indp uart_console
106 drvuart_LIB_LIST = $(uart_LIB_LIST)
108 ############################
109 # uart Firmwares
110 # All the firmware mentioned in list are built when build target is called
111 # List below all firmware for allowed values
112 ############################
113 uart_FIRM_LIST = icss_uart
114 drvuart_FIRM_LIST = $(uart_FIRM_LIST)
116 ############################
117 # uart examples
118 # List of examples under uart
119 # All the tests mentioned in list are built when test target is called
120 # List below all examples for allowed values
121 ############################
122 #uart_EXAMPLE_LIST = drv_uart_unit_test drv_uart_polling_mode_app drv_uart_intr_mode_app
123 uart_EXAMPLE_LIST = UART_Baremetal_TestApp UART_Baremetal_DMA_TestApp UART_TestApp UART_SMP_TestApp UART_DMA_TestApp UART_DMA_SMP_TestApp
124 drvuart_EXAMPLE_LIST = $(uart_EXAMPLE_LIST)
126 #
127 # UART Modules
128 #
130 # UART LIB
131 uart_COMP_LIST = uart
132 uart_RELPATH = ti/drv/uart
133 uart_PATH = $(PDK_UART_COMP_PATH)
134 uart_LIBNAME = ti.drv.uart
135 export uart_LIBNAME
136 uart_LIBPATH = $(uart_PATH)/lib
137 export uart_LIBPATH
138 uart_OBJPATH = $(uart_RELPATH)/uart
139 export uart_OBJPATH
140 uart_MAKEFILE = -f build/makefile.mk
141 export uart_MAKEFILE
142 uart_BOARD_DEPENDENCY = no
143 uart_CORE_DEPENDENCY = no
144 uart_SOC_DEPENDENCY = yes
145 export uart_COMP_LIST
146 export uart_BOARD_DEPENDENCY
147 export uart_CORE_DEPENDENCY
148 export uart_SOC_DEPENDENCY
149 uart_PKG_LIST = uart
150 uart_INCLUDE = $(uart_PATH)
151 uart_SOCLIST = tda2xx tda2px tda2ex tda3xx dra78x am574x am572x am571x dra72x dra75x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx j721e j7200
152 export uart_SOCLIST
153 uart_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
154 ifeq ($(SOC),$(filter $(SOC), j721e))
155 uart_$(SOC)_CORELIST += c7x_1
156 endif
157 export uart_$(SOC)_CORELIST
159 # UART LIB DEVICE INDEPENDENT
160 uart_indp_COMP_LIST = uart_indp
161 uart_indp_RELPATH = ti/drv/uart
162 uart_indp_PATH = $(PDK_UART_COMP_PATH)
163 uart_indp_LIBNAME = ti.drv.uart
164 export uart_indp_LIBNAME
165 uart_indp_LIBPATH = $(uart_indp_PATH)/lib
166 export uart_indp_LIBPATH
167 uart_indp_OBJPATH = $(uart_indp_RELPATH)/uart_indp
168 export uart_indp_OBJPATH
169 uart_indp_MAKEFILE = -f build/makefile_indp.mk
170 export uart_indp_MAKEFILE
171 uart_indp_BOARD_DEPENDENCY = no
172 uart_indp_CORE_DEPENDENCY = no
173 uart_indp_SOC_DEPENDENCY = no
174 export uart_indp_COMP_LIST
175 export uart_indp_BOARD_DEPENDENCY
176 export uart_indp_CORE_DEPENDENCY
177 export uart_indp_SOC_DEPENDENCY
178 uart_indp_PKG_LIST = uart_indp
179 uart_indp_INCLUDE = $(uart_indp_PATH)
180 uart_indp_SOCLIST = tda2xx tda2px tda2ex tda3xx dra78x am574x am572x am571x dra72x dra75x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx
181 export uart_indp_SOCLIST
182 uart_indp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
183 export uart_indp_$(SOC)_CORELIST
185 # UART DMA SOC LIB
186 uart_dma_COMP_LIST = uart_dma
187 uart_dma_RELPATH = ti/drv/uart
188 uart_dma_PATH = $(PDK_UART_COMP_PATH)
189 uart_dma_LIBNAME = ti.drv.uart.dma
190 export uart_dma_LIBNAME
191 uart_dma_LIBPATH = $(uart_dma_PATH)/lib
192 export uart_dma_LIBPATH
193 uart_dma_OBJPATH = $(uart_dma_RELPATH)/uart_dma
194 export uart_dma_OBJPATH
195 uart_dma_MAKEFILE = -f build/makefile_dma.mk
196 export uart_dma_MAKEFILE
197 uart_dma_BOARD_DEPENDENCY = no
198 uart_dma_CORE_DEPENDENCY = no
199 uart_dma_SOC_DEPENDENCY = yes
200 export uart_dma_COMP_LIST
201 export uart_dma_BOARD_DEPENDENCY
202 export uart_dma_CORE_DEPENDENCY
203 export uart_dma_SOC_DEPENDENCY
204 uart_dma_PKG_LIST = uart_dma
205 uart_dma_INCLUDE = $(uart_dma_PATH)
206 uart_dma_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 omapl137 omapl138 am437x am65xx j721e j7200 am335x
207 export uart_dma_SOCLIST
208 uart_dma_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
209 export uart_dma_$(SOC)_CORELIST
211 # UART PROFILING SOC LIB
212 uart_profile_COMP_LIST = uart_profile
213 uart_profile_RELPATH = ti/drv/uart
214 uart_profile_PATH = $(PDK_UART_COMP_PATH)
215 uart_profile_LIBNAME = ti.drv.uart.profiling
216 export uart_profile_LIBNAME
217 uart_profile_LIBPATH = $(uart_profile_PATH)/lib
218 export uart_profile_LIBPATH
219 uart_profile_OBJPATH = $(uart_profile_RELPATH)/uart_profile
220 export uart_profile_OBJPATH
221 uart_profile_MAKEFILE = -f build/makefile_profile.mk
222 export uart_profile_MAKEFILE
223 uart_profile_BOARD_DEPENDENCY = no
224 uart_profile_CORE_DEPENDENCY = no
225 uart_profile_SOC_DEPENDENCY = yes
226 export uart_profile_COMP_LIST
227 export uart_profile_BOARD_DEPENDENCY
228 export uart_profile_CORE_DEPENDENCY
229 export uart_profile_SOC_DEPENDENCY
230 uart_profile_PKG_LIST = uart_profile
231 uart_profile_INCLUDE = $(uart_profile_PATH)
232 uart_profile_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx
233 export uart_profile_SOCLIST
234 uart_profile_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
235 export uart_profile_$(SOC)_CORELIST
237 # UART PROFILING SOC INDEPENDENT LIB
238 uart_profile_indp_COMP_LIST = uart_profile_indp
239 uart_profile_indp_RELPATH = ti/drv/uart
240 uart_profile_indp_PATH = $(PDK_UART_COMP_PATH)
241 uart_profile_indp_LIBNAME = ti.drv.uart.profiling
242 export uart_profile_indp_LIBNAME
243 uart_profile_indp_LIBPATH = $(uart_profile_indp_PATH)/lib
244 export uart_profile_indp_LIBPATH
245 uart_profile_indp_OBJPATH = $(uart_profile_indp_RELPATH)/uart_profile_indp
246 export uart_profile_indp_OBJPATH
247 uart_profile_indp_MAKEFILE = -f build/makefile_profile_indp.mk
248 export uart_profile_indp_MAKEFILE
249 uart_profile_indp_BOARD_DEPENDENCY = no
250 uart_profile_indp_CORE_DEPENDENCY = no
251 uart_profile_indp_SOC_DEPENDENCY = no
252 export uart_profile_indp_COMP_LIST
253 export uart_profile_indp_BOARD_DEPENDENCY
254 export uart_profile_indp_CORE_DEPENDENCY
255 export uart_profile_indp_SOC_DEPENDENCY
256 uart_profile_indp_PKG_LIST = uart_profile_indp
257 uart_profile_indp_INCLUDE = $(uart_profile_indp_PATH)
258 uart_profile_indp_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx
259 export uart_profile_indp_SOCLIST
260 uart_profile_indp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
261 export uart_profile_indp_$(SOC)_CORELIST
263 # UART DMA PROFILING SOC LIB
264 uart_dma_profile_COMP_LIST = uart_dma_profile
265 uart_dma_profile_RELPATH = ti/drv/uart
266 uart_dma_profile_PATH = $(PDK_UART_COMP_PATH)
267 uart_dma_profile_LIBNAME = ti.drv.uart.profiling.dma
268 export uart_dma_profile_LIBNAME
269 uart_dma_profile_LIBPATH = $(uart_dma_profile_PATH)/lib
270 export uart_dma_profile_LIBPATH
271 uart_dma_profile_OBJPATH = $(uart_dma_profile_RELPATH)/uart_dma_profile
272 export uart_dma_profile_OBJPATH
273 uart_dma_profile_MAKEFILE = -f build/makefile_dma_profile.mk
274 export uart_dma_profile_MAKEFILE
275 uart_dma_profile_BOARD_DEPENDENCY = no
276 uart_dma_profile_CORE_DEPENDENCY = no
277 uart_dma_profile_SOC_DEPENDENCY = yes
278 export uart_dma_profile_COMP_LIST
279 export uart_dma_profile_BOARD_DEPENDENCY
280 export uart_dma_profile_CORE_DEPENDENCY
281 export uart_dma_profile_SOC_DEPENDENCY
282 uart_dma_profile_PKG_LIST = uart_dma_profile
283 uart_dma_profile_INCLUDE = $(uart_dma_profile_PATH)
284 uart_dma_profile_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 am437x am65xx am335x
285 export uart_dma_profile_SOCLIST
286 uart_dma_profile_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
287 export uart_dma_profile_$(SOC)_CORELIST
289 # UART console LIB
290 uart_console_COMP_LIST = uart_console
291 uart_console_RELPATH = ti/drv/uart
292 uart_console_PATH = $(PDK_UART_COMP_PATH)
293 uart_console_LIBNAME = ti.drv.uart_console
294 export uart_console_LIBNAME
295 uart_console_LIBPATH = $(uart_console_PATH)/lib
296 export uart_console_LIBPATH
297 uart_console_OBJPATH = $(uart_console_RELPATH)/uart_console
298 export uart_console_OBJPATH
299 uart_console_MAKEFILE = -f build/makefile_console.mk
300 export uart_console_MAKEFILE
301 uart_console_BOARD_DEPENDENCY = no
302 uart_console_CORE_DEPENDENCY = no
303 uart_console_SOC_DEPENDENCY = yes
304 export uart_console_COMP_LIST
305 export uart_console_BOARD_DEPENDENCY
306 export uart_console_CORE_DEPENDENCY
307 export uart_console_SOC_DEPENDENCY
308 uart_console_PKG_LIST = uart_console
309 uart_console_INCLUDE = $(uart_console_PATH)
310 uart_console_SOCLIST = tda2xx tda2px tda2ex tda3xx am65xx j721e j7200
311 export uart_console_SOCLIST
312 uart_console_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
313 export uart_console_$(SOC)_CORELIST
315 #
316 # UART Firmwares
317 #
318 icss_uart_COMP_LIST = icss_uart
319 # temporary fix for nightly build
320 # icss_uart_RELPATH = ti/drv/uart/firmware/icss_uart
321 icss_uart_RELPATH = icss_uart
322 icss_uart_PATH = $(PDK_UART_COMP_PATH)/firmware/icss_uart
323 icss_uart_HEADERNAME = icss_uart
324 export icss_uart_HEADERNAME
325 icss_uart_HEADERPATH = $(icss_uart_PATH)/bin
326 export icss_uart_HEADERPATH
327 icss_uart_OBJPATH = $(icss_uart_RELPATH)
328 export icss_uart_OBJPATH
329 icss_uart_MAKEFILE = -f ../../build/makefile_icss_uart.mk
330 export icss_uart_MAKEFILE
331 icss_uart_BOARD_DEPENDENCY = no
332 icss_uart_CORE_DEPENDENCY = yes
333 icss_uart_SOC_DEPENDENCY = yes
334 export icss_uart_COMP_LIST
335 export icss_uart_BOARD_DEPENDENCY
336 export icss_uart_CORE_DEPENDENCY
337 export icss_uart_SOC_DEPENDENCY
338 icss_uart_PKG_LIST = icss_uart
339 export icss_uart_PKG_LIST
340 icss_uart_INCLUDE = $(icss_uart_PATH)
341 #icss_uart_SOCLIST = am437x am574x am572x am571x am335x k2g
342 icss_uart_SOCLIST = am335x
343 export icss_uart_SOCLIST
344 icss_uart_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
345 export icss_uart_$(SOC)_CORELIST
347 #
348 # UART Examples
349 #
351 # UART unit test baremetal app
352 UART_Baremetal_TestApp_COMP_LIST = UART_Baremetal_TestApp
353 UART_Baremetal_TestApp_RELPATH = ti/drv/uart/test
354 UART_Baremetal_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
355 UART_Baremetal_TestApp_BOARD_DEPENDENCY = yes
356 UART_Baremetal_TestApp_CORE_DEPENDENCY = no
357 UART_Baremetal_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes
358 export UART_Baremetal_TestApp_COMP_LIST
359 export UART_Baremetal_TestApp_BOARD_DEPENDENCY
360 export UART_Baremetal_TestApp_CORE_DEPENDENCY
361 export UART_Baremetal_TestApp_MAKEFILE
362 UART_Baremetal_TestApp_PKG_LIST = UART_Baremetal_TestApp
363 UART_Baremetal_TestApp_INCLUDE = $(UART_Baremetal_TestApp_PATH)
364 UART_Baremetal_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
365 export UART_Baremetal_TestApp_BOARDLIST
366 ifeq ($(SOC),$(filter $(SOC), j721e j7200))
367 UART_Baremetal_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELISTARM)
368 else
369 UART_Baremetal_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
370 endif
372 export UART_Baremetal_TestApp_$(SOC)_CORELIST
373 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
374 UART_Baremetal_TestApp_SBL_APPIMAGEGEN = yes
375 export UART_Baremetal_TestApp_SBL_APPIMAGEGEN
376 endif
378 # UART unit test baremetal dma app
379 UART_Baremetal_DMA_TestApp_COMP_LIST = UART_Baremetal_DMA_TestApp
380 UART_Baremetal_DMA_TestApp_RELPATH = ti/drv/uart/test
381 UART_Baremetal_DMA_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
382 UART_Baremetal_DMA_TestApp_BOARD_DEPENDENCY = yes
383 UART_Baremetal_DMA_TestApp_CORE_DEPENDENCY = no
384 UART_Baremetal_DMA_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes DMA=enable
385 export UART_Baremetal_DMA_TestApp_COMP_LIST
386 export UART_Baremetal_DMA_TestApp_BOARD_DEPENDENCY
387 export UART_Baremetal_DMA_TestApp_CORE_DEPENDENCY
388 export UART_Baremetal_DMA_TestApp_MAKEFILE
389 UART_Baremetal_DMA_TestApp_PKG_LIST = UART_Baremetal_DMA_TestApp
390 UART_Baremetal_DMA_TestApp_INCLUDE = $(UART_Baremetal_DMA_TestApp_PATH)
391 UART_Baremetal_DMA_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
392 export UART_Baremetal_DMA_TestApp_BOARDLIST
393 ifeq ($(SOC),$(filter $(SOC), j721e j7200))
394 UART_Baremetal_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELISTARM)
395 else
396 UART_Baremetal_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
397 endif
398 export UART_Baremetal_DMA_TestApp_$(SOC)_CORELIST
399 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
400 UART_Baremetal_DMA_TestApp_SBL_APPIMAGEGEN = yes
401 export UART_Baremetal_DMA_TestApp_SBL_APPIMAGEGEN
402 endif
404 # UART unit test rtos app
405 UART_TestApp_COMP_LIST = UART_TestApp
406 UART_TestApp_RELPATH = ti/drv/uart/test
407 UART_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
408 UART_TestApp_BOARD_DEPENDENCY = yes
409 UART_TestApp_CORE_DEPENDENCY = no
410 UART_TestApp_MAKEFILE = -f makefile
411 UART_TestApp_XDC_CONFIGURO = yes
412 export UART_TestApp_COMP_LIST
413 export UART_TestApp_BOARD_DEPENDENCY
414 export UART_TestApp_CORE_DEPENDENCY
415 export UART_TestApp_MAKEFILE
416 export UART_TestApp_XDC_CONFIGURO
417 UART_TestApp_PKG_LIST = UART_TestApp
418 UART_TestApp_INCLUDE = $(UART_TestApp_PATH)
419 UART_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
420 export UART_TestApp_BOARDLIST
421 UART_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
422 export UART_TestApp_$(SOC)_CORELIST
423 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
424 UART_TestApp_SBL_APPIMAGEGEN = yes
425 export UART_TestApp_SBL_APPIMAGEGEN
426 endif
428 # UART unit test rtos app with SMP enabled
429 UART_SMP_TestApp_COMP_LIST = UART_SMP_TestApp
430 UART_SMP_TestApp_RELPATH = ti/drv/uart/test
431 UART_SMP_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
432 UART_SMP_TestApp_BOARD_DEPENDENCY = yes
433 UART_SMP_TestApp_CORE_DEPENDENCY = no
434 UART_SMP_TestApp_MAKEFILE = -f makefile SMP=enable
435 UART_SMP_TestApp_XDC_CONFIGURO = yes
436 export UART_SMP_TestApp_COMP_LIST
437 export UART_SMP_TestApp_BOARD_DEPENDENCY
438 export UART_SMP_TestApp_CORE_DEPENDENCY
439 export UART_SMP_TestApp_MAKEFILE
440 export UART_SMP_TestApp_XDC_CONFIGURO
441 UART_SMP_TestApp_PKG_LIST = UART_SMP_TestApp
442 UART_SMP_TestApp_INCLUDE = $(UART_SMP_TestApp_PATH)
443 UART_SMP_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
444 export UART_SMP_TestApp_BOARDLIST
445 UART_SMP_TestApp_$(SOC)_CORELIST = mpu1_0
446 export UART_SMP_TestApp_$(SOC)_CORELIST
447 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
448 UART_SMP_TestApp_SBL_APPIMAGEGEN = yes
449 export UART_SMP_TestApp_SBL_APPIMAGEGEN
450 endif
452 # UART unit test rtos dma app
453 UART_DMA_TestApp_COMP_LIST = UART_DMA_TestApp
454 UART_DMA_TestApp_RELPATH = ti/drv/uart/test
455 UART_DMA_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
456 UART_DMA_TestApp_BOARD_DEPENDENCY = yes
457 UART_DMA_TestApp_CORE_DEPENDENCY = no
458 UART_DMA_TestApp_MAKEFILE = -f makefile DMA=enable
459 UART_DMA_TestApp_XDC_CONFIGURO = yes
460 export UART_DMA_TestApp_COMP_LIST
461 export UART_DMA_TestApp_BOARD_DEPENDENCY
462 export UART_DMA_TestApp_CORE_DEPENDENCY
463 export UART_DMA_TestApp_MAKEFILE
464 export UART_DMA_TestApp_XDC_CONFIGURO
465 UART_DMA_TestApp_PKG_LIST = UART_DMA_TestApp
466 UART_DMA_TestApp_INCLUDE = $(UART_DMA_TestApp_PATH)
467 UART_DMA_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
468 export UART_DMA_TestApp_BOARDLIST
469 UART_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
470 export UART_DMA_TestApp_$(SOC)_CORELIST
471 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
472 UART_DMA_TestApp_SBL_APPIMAGEGEN = yes
473 export UART_DMA_TestApp_SBL_APPIMAGEGEN
474 endif
476 # UART unit test rtos dma app with SMP enabled
477 UART_DMA_SMP_TestApp_COMP_LIST = UART_DMA_SMP_TestApp
478 UART_DMA_SMP_TestApp_RELPATH = ti/drv/uart/test
479 UART_DMA_SMP_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
480 UART_DMA_SMP_TestApp_BOARD_DEPENDENCY = yes
481 UART_DMA_SMP_TestApp_CORE_DEPENDENCY = no
482 UART_DMA_SMP_TestApp_MAKEFILE = -f makefile DMA=enable SMP=enable
483 UART_DMA_SMP_TestApp_XDC_CONFIGURO = yes
484 export UART_DMA_SMP_TestApp_COMP_LIST
485 export UART_DMA_SMP_TestApp_BOARD_DEPENDENCY
486 export UART_DMA_SMP_TestApp_CORE_DEPENDENCY
487 export UART_DMA_SMP_TestApp_MAKEFILE
488 export UART_DMA_SMP_TestApp_XDC_CONFIGURO
489 UART_DMA_SMP_TestApp_PKG_LIST = UART_DMA_SMP_TestApp
490 UART_DMA_SMP_TestApp_INCLUDE = $(UART_DMA_SMP_TestApp_PATH)
491 UART_DMA_SMP_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
492 export UART_DMA_SMP_TestApp_BOARDLIST
493 UART_DMA_SMP_TestApp_$(SOC)_CORELIST = mpu1_0
494 export UART_DMA_SMP_TestApp_$(SOC)_CORELIST
495 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
496 UART_DMA_SMP_TestApp_SBL_APPIMAGEGEN = yes
497 export UART_DMA_SMP_TestApp_SBL_APPIMAGEGEN
498 endif
500 # UART Polling mode Test app
501 UART_BasicExample_Polling_ExampleProject_COMP_LIST = UART_BasicExample_Polling_ExampleProject
502 UART_BasicExample_Polling_ExampleProject_RELPATH = ti/drv/uart/example/UART_BasicExample_Polling_ExampleProject
503 UART_BasicExample_Polling_ExampleProject_PATH = $(PDK_UART_COMP_PATH)/example/UART_BasicExample_Polling_ExampleProject
504 UART_BasicExample_Polling_ExampleProject_BOARD_DEPENDENCY = yes
505 UART_BasicExample_Polling_ExampleProject_CORE_DEPENDENCY = no
506 UART_BasicExample_Polling_ExampleProject_XDC_CONFIGURO = yes
507 export UART_BasicExample_Polling_ExampleProject_COMP_LIST
508 export UART_BasicExample_Polling_ExampleProject_BOARD_DEPENDENCY
509 export UART_BasicExample_Polling_ExampleProject_CORE_DEPENDENCY
510 export UART_BasicExample_Polling_ExampleProject_XDC_CONFIGURO
511 UART_BasicExample_Polling_ExampleProject_PKG_LIST = UART_BasicExample_Polling_ExampleProject
512 UART_BasicExample_Polling_ExampleProject_INCLUDE = $(UART_BasicExample_Polling_ExampleProject_PATH)
513 UART_BasicExample_Polling_ExampleProject_BOARDLIST = tda2xx-evm tda2px-evm tda2ex-evm tda3xx-evm evmDRA75x evmDRA78x
514 export UART_BasicExample_Polling_ExampleProject_BOARDLIST
515 UART_BasicExample_Polling_ExampleProject_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
516 export UART_BasicExample_Polling_ExampleProject_$(SOC)_CORELIST
517 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
518 UART_BasicExample_Polling_ExampleProject_SBL_APPIMAGEGEN = yes
519 export UART_BasicExample_Polling_ExampleProject_SBL_APPIMAGEGEN
520 endif
522 # UART Interrupt mode Test app
523 UART_BasicExample_Intr_ExampleProject_COMP_LIST = UART_BasicExample_Intr_ExampleProject
524 UART_BasicExample_Intr_ExampleProject_RELPATH = ti/drv/uart/example/UART_BasicExample_Intr_ExampleProject
525 UART_BasicExample_Intr_ExampleProject_PATH = $(PDK_UART_COMP_PATH)/example/UART_BasicExample_Intr_ExampleProject
526 UART_BasicExample_Intr_ExampleProject_BOARD_DEPENDENCY = yes
527 UART_BasicExample_Intr_ExampleProject_CORE_DEPENDENCY = no
528 UART_BasicExample_Intr_ExampleProject_XDC_CONFIGURO = yes
529 export UART_BasicExample_Intr_ExampleProject_COMP_LIST
530 export UART_BasicExample_Intr_ExampleProject_BOARD_DEPENDENCY
531 export UART_BasicExample_Intr_ExampleProject_CORE_DEPENDENCY
532 export UART_BasicExample_Intr_ExampleProject_XDC_CONFIGURO
533 UART_BasicExample_Intr_ExampleProject_PKG_LIST = UART_BasicExample_Intr_ExampleProject
534 UART_BasicExample_Intr_ExampleProject_INCLUDE = $(UART_BasicExample_Intr_ExampleProject_PATH)
535 UART_BasicExample_Intr_ExampleProject_BOARDLIST = tda2xx-evm tda2px-evm tda2ex-evm tda3xx-evm evmDRA75x evmDRA78x
536 export UART_BasicExample_Intr_ExampleProject_BOARDLIST
537 UART_BasicExample_Intr_ExampleProject_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
538 export UART_BasicExample_Intr_ExampleProject_$(SOC)_CORELIST
539 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
540 UART_BasicExample_Intr_ExampleProject_SBL_APPIMAGEGEN = yes
541 export UART_BasicExample_Intr_ExampleProject_SBL_APPIMAGEGEN
542 endif
544 export drvuart_LIB_LIST
545 export uart_LIB_LIST
546 export uart_EXAMPLE_LIST
547 export drvuart_EXAMPLE_LIST
548 export drvuart_FIRM_LIST
549 export uart_FIRM_LIST
551 uart_component_make_include := 1
552 endif