[PDK-9493] UART: Support FreeRTOS on R5 cores
[processor-sdk/pdk.git] / packages / ti / drv / uart / uart_component.mk
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 am64x_evm tpr12_evm tpr12_qt awr294x_evm
71 drvuart_freertos_BOARDLIST = am65xx_evm j721e_evm j7200_evm tpr12_evm
72 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
73 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 am64x tpr12 awr294x
74 drvuart_tda2xx_CORELIST = ipu1_0
75 drvuart_tda2px_CORELIST = ipu1_0
76 drvuart_tda2ex_CORELIST = ipu1_0
77 drvuart_tda3xx_CORELIST = ipu1_0
78 drvuart_dra78x_CORELIST = c66x ipu1_0
79 drvuart_am574x_CORELIST = c66x a15_0 ipu1_0
80 drvuart_am572x_CORELIST = c66x a15_0 ipu1_0
81 drvuart_am571x_CORELIST = c66x a15_0 ipu1_0
82 drvuart_dra72x_CORELIST = c66x a15_0 ipu1_0
83 drvuart_dra75x_CORELIST = c66x a15_0 ipu1_0
84 drvuart_k2h_CORELIST    = c66x a15_0
85 drvuart_k2k_CORELIST    = c66x a15_0
86 drvuart_k2l_CORELIST    = c66x a15_0
87 drvuart_k2e_CORELIST    = c66x a15_0
88 drvuart_k2g_CORELIST    = c66x a15_0
89 drvuart_omapl137_CORELIST    = c674x arm9_0
90 drvuart_omapl138_CORELIST    = c674x arm9_0
91 drvuart_c6678_CORELIST  = c66x
92 drvuart_c6657_CORELIST  = c66x
93 drvuart_am437x_CORELIST = a9host
94 drvuart_am335x_CORELIST = a8host pru_0 pru_1
95 drvuart_am65xx_CORELIST = mpu1_0 mcu1_0 mcu1_1
96 drvuart_am65xx_FREERTOS_CORELIST = mcu1_0 mcu1_1
97 drvuart_j721e_CORELIST = $(DEFAULT_j721e_CORELIST)
98 drvuart_j721e_CORELISTARM = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
99 drvuart_j721e_FREERTOS_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
100 drvuart_j7200_CORELIST = $(DEFAULT_j7200_CORELIST)
101 drvuart_j7200_CORELISTARM = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1
102 drvuart_j7200_FREERTOS_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1
103 drvuart_am64x_CORELIST = $(DEFAULT_am64x_CORELIST)
104 drvuart_am64x_CORELISTARM = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1
105 drvuart_tpr12_CORELIST = mcu1_0 c66xdsp_1
106 drvuart_tpr12_FREERTOS_CORELIST = mcu1_0 c66xdsp_1
107 drvuart_awr294x_CORELIST = mcu1_0 c66xdsp_1
109 ############################
110 # uart package
111 # List of components included under uart lib
112 # The components included here are built and will be part of uart lib
113 ############################
114 uart_LIB_LIST = uart uart_dma uart_profile uart_dma_profile uart_indp uart_profile_indp uart_console
115 drvuart_LIB_LIST = $(uart_LIB_LIST)
117 ############################
118 # uart Firmwares
119 # All the firmware mentioned in list are built when build target is called
120 # List below all firmware for allowed values
121 ############################
122 uart_FIRM_LIST = icss_uart
123 drvuart_FIRM_LIST = $(uart_FIRM_LIST)
125 ############################
126 # uart examples
127 # List of examples under uart
128 # All the tests mentioned in list are built when test target is called
129 # List below all examples for allowed values
130 ############################
131 #uart_EXAMPLE_LIST = drv_uart_unit_test drv_uart_polling_mode_app drv_uart_intr_mode_app
132 uart_EXAMPLE_LIST = UART_Baremetal_TestApp UART_Baremetal_DMA_TestApp UART_TestApp UART_SMP_TestApp UART_DMA_TestApp UART_DMA_SMP_TestApp
133 uart_EXAMPLE_LIST += UART_Freertos_TestApp UART_Freertos_DMA_TestApp
134 drvuart_EXAMPLE_LIST = $(uart_EXAMPLE_LIST)
137 # UART Modules
140 # UART LIB
141 uart_COMP_LIST = uart
142 uart_RELPATH = ti/drv/uart
143 uart_PATH = $(PDK_UART_COMP_PATH)
144 uart_LIBNAME = ti.drv.uart
145 export uart_LIBNAME
146 uart_LIBPATH = $(uart_PATH)/lib
147 export uart_LIBPATH
148 uart_OBJPATH = $(uart_RELPATH)/uart
149 export uart_OBJPATH
150 uart_MAKEFILE = -f build/makefile.mk
151 export uart_MAKEFILE
152 uart_BOARD_DEPENDENCY = no
153 uart_CORE_DEPENDENCY = no
154 uart_SOC_DEPENDENCY = yes
155 export uart_COMP_LIST
156 export uart_BOARD_DEPENDENCY
157 export uart_CORE_DEPENDENCY
158 export uart_SOC_DEPENDENCY
159 uart_PKG_LIST = uart
160 uart_INCLUDE = $(uart_PATH)
161 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 am64x tpr12 awr294x
162 export uart_SOCLIST
163 uart_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
164 ifeq ($(SOC),$(filter $(SOC), j721e))
165 uart_$(SOC)_CORELIST += c7x_1
166 endif
167 export uart_$(SOC)_CORELIST
169 # UART LIB DEVICE INDEPENDENT
170 uart_indp_COMP_LIST = uart_indp
171 uart_indp_RELPATH = ti/drv/uart
172 uart_indp_PATH = $(PDK_UART_COMP_PATH)
173 uart_indp_LIBNAME = ti.drv.uart
174 export uart_indp_LIBNAME
175 uart_indp_LIBPATH = $(uart_indp_PATH)/lib
176 export uart_indp_LIBPATH
177 uart_indp_OBJPATH = $(uart_indp_RELPATH)/uart_indp
178 export uart_indp_OBJPATH
179 uart_indp_MAKEFILE = -f build/makefile_indp.mk
180 export uart_indp_MAKEFILE
181 uart_indp_BOARD_DEPENDENCY = no
182 uart_indp_CORE_DEPENDENCY = no
183 uart_indp_SOC_DEPENDENCY = no
184 export uart_indp_COMP_LIST
185 export uart_indp_BOARD_DEPENDENCY
186 export uart_indp_CORE_DEPENDENCY
187 export uart_indp_SOC_DEPENDENCY
188 uart_indp_PKG_LIST = uart_indp
189 uart_indp_INCLUDE = $(uart_indp_PATH)
190 uart_indp_SOCLIST = tda2xx tda2px tda2ex tda3xx dra78x am574x am572x am571x dra72x dra75x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138
191 export uart_indp_SOCLIST
192 uart_indp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
193 export uart_indp_$(SOC)_CORELIST
195 # UART DMA SOC LIB
196 uart_dma_COMP_LIST = uart_dma
197 uart_dma_RELPATH = ti/drv/uart
198 uart_dma_PATH = $(PDK_UART_COMP_PATH)
199 uart_dma_LIBNAME = ti.drv.uart.dma
200 export uart_dma_LIBNAME
201 uart_dma_LIBPATH = $(uart_dma_PATH)/lib
202 export uart_dma_LIBPATH
203 uart_dma_OBJPATH = $(uart_dma_RELPATH)/uart_dma
204 export uart_dma_OBJPATH
205 uart_dma_MAKEFILE = -f build/makefile_dma.mk
206 export uart_dma_MAKEFILE
207 uart_dma_BOARD_DEPENDENCY = no
208 uart_dma_CORE_DEPENDENCY = no
209 uart_dma_SOC_DEPENDENCY = yes
210 export uart_dma_COMP_LIST
211 export uart_dma_BOARD_DEPENDENCY
212 export uart_dma_CORE_DEPENDENCY
213 export uart_dma_SOC_DEPENDENCY
214 uart_dma_PKG_LIST = uart_dma
215 uart_dma_INCLUDE = $(uart_dma_PATH)
216 uart_dma_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 omapl137 omapl138 am437x am65xx j721e j7200 am335x am64x tpr12 awr294x
217 export uart_dma_SOCLIST
218 uart_dma_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
219 export uart_dma_$(SOC)_CORELIST
221 # UART PROFILING SOC LIB
222 uart_profile_COMP_LIST = uart_profile
223 uart_profile_RELPATH = ti/drv/uart
224 uart_profile_PATH = $(PDK_UART_COMP_PATH)
225 uart_profile_LIBNAME = ti.drv.uart.profiling
226 export uart_profile_LIBNAME
227 uart_profile_LIBPATH = $(uart_profile_PATH)/lib
228 export uart_profile_LIBPATH
229 uart_profile_OBJPATH = $(uart_profile_RELPATH)/uart_profile
230 export uart_profile_OBJPATH
231 uart_profile_MAKEFILE = -f build/makefile_profile.mk
232 export uart_profile_MAKEFILE
233 uart_profile_BOARD_DEPENDENCY = no
234 uart_profile_CORE_DEPENDENCY = no
235 uart_profile_SOC_DEPENDENCY = yes
236 export uart_profile_COMP_LIST
237 export uart_profile_BOARD_DEPENDENCY
238 export uart_profile_CORE_DEPENDENCY
239 export uart_profile_SOC_DEPENDENCY
240 uart_profile_PKG_LIST = uart_profile
241 uart_profile_INCLUDE = $(uart_profile_PATH)
242 uart_profile_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138
243 export uart_profile_SOCLIST
244 uart_profile_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
245 export uart_profile_$(SOC)_CORELIST
247 # UART PROFILING SOC INDEPENDENT LIB
248 uart_profile_indp_COMP_LIST = uart_profile_indp
249 uart_profile_indp_RELPATH = ti/drv/uart
250 uart_profile_indp_PATH = $(PDK_UART_COMP_PATH)
251 uart_profile_indp_LIBNAME = ti.drv.uart.profiling
252 export uart_profile_indp_LIBNAME
253 uart_profile_indp_LIBPATH = $(uart_profile_indp_PATH)/lib
254 export uart_profile_indp_LIBPATH
255 uart_profile_indp_OBJPATH = $(uart_profile_indp_RELPATH)/uart_profile_indp
256 export uart_profile_indp_OBJPATH
257 uart_profile_indp_MAKEFILE = -f build/makefile_profile_indp.mk
258 export uart_profile_indp_MAKEFILE
259 uart_profile_indp_BOARD_DEPENDENCY = no
260 uart_profile_indp_CORE_DEPENDENCY = no
261 uart_profile_indp_SOC_DEPENDENCY = no
262 export uart_profile_indp_COMP_LIST
263 export uart_profile_indp_BOARD_DEPENDENCY
264 export uart_profile_indp_CORE_DEPENDENCY
265 export uart_profile_indp_SOC_DEPENDENCY
266 uart_profile_indp_PKG_LIST = uart_profile_indp
267 uart_profile_indp_INCLUDE = $(uart_profile_indp_PATH)
268 uart_profile_indp_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138
269 export uart_profile_indp_SOCLIST
270 uart_profile_indp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
271 export uart_profile_indp_$(SOC)_CORELIST
273 # UART DMA PROFILING SOC LIB
274 uart_dma_profile_COMP_LIST = uart_dma_profile
275 uart_dma_profile_RELPATH = ti/drv/uart
276 uart_dma_profile_PATH = $(PDK_UART_COMP_PATH)
277 uart_dma_profile_LIBNAME = ti.drv.uart.profiling.dma
278 export uart_dma_profile_LIBNAME
279 uart_dma_profile_LIBPATH = $(uart_dma_profile_PATH)/lib
280 export uart_dma_profile_LIBPATH
281 uart_dma_profile_OBJPATH = $(uart_dma_profile_RELPATH)/uart_dma_profile
282 export uart_dma_profile_OBJPATH
283 uart_dma_profile_MAKEFILE = -f build/makefile_dma_profile.mk
284 export uart_dma_profile_MAKEFILE
285 uart_dma_profile_BOARD_DEPENDENCY = no
286 uart_dma_profile_CORE_DEPENDENCY = no
287 uart_dma_profile_SOC_DEPENDENCY = yes
288 export uart_dma_profile_COMP_LIST
289 export uart_dma_profile_BOARD_DEPENDENCY
290 export uart_dma_profile_CORE_DEPENDENCY
291 export uart_dma_profile_SOC_DEPENDENCY
292 uart_dma_profile_PKG_LIST = uart_dma_profile
293 uart_dma_profile_INCLUDE = $(uart_dma_profile_PATH)
294 uart_dma_profile_SOCLIST = am574x am572x am571x dra72x dra75x dra78x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x
295 export uart_dma_profile_SOCLIST
296 uart_dma_profile_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
297 export uart_dma_profile_$(SOC)_CORELIST
299 # UART console LIB
300 uart_console_COMP_LIST = uart_console
301 uart_console_RELPATH = ti/drv/uart
302 uart_console_PATH = $(PDK_UART_COMP_PATH)
303 uart_console_LIBNAME = ti.drv.uart_console
304 export uart_console_LIBNAME
305 uart_console_LIBPATH = $(uart_console_PATH)/lib
306 export uart_console_LIBPATH
307 uart_console_OBJPATH = $(uart_console_RELPATH)/uart_console
308 export uart_console_OBJPATH
309 uart_console_MAKEFILE = -f build/makefile_console.mk
310 export uart_console_MAKEFILE
311 uart_console_BOARD_DEPENDENCY = no
312 uart_console_CORE_DEPENDENCY = no
313 uart_console_SOC_DEPENDENCY = yes
314 export uart_console_COMP_LIST
315 export uart_console_BOARD_DEPENDENCY
316 export uart_console_CORE_DEPENDENCY
317 export uart_console_SOC_DEPENDENCY
318 uart_console_PKG_LIST = uart_console
319 uart_console_INCLUDE = $(uart_console_PATH)
320 uart_console_SOCLIST = tda2xx tda2px tda2ex tda3xx am65xx j721e j7200 tpr12 awr294x
321 export uart_console_SOCLIST
322 uart_console_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
323 export uart_console_$(SOC)_CORELIST
326 # UART Firmwares
328 icss_uart_COMP_LIST = icss_uart
329 # temporary fix for nightly build
330 # icss_uart_RELPATH = ti/drv/uart/firmware/icss_uart
331 icss_uart_RELPATH = icss_uart
332 icss_uart_PATH = $(PDK_UART_COMP_PATH)/firmware/icss_uart
333 icss_uart_HEADERNAME = icss_uart
334 export icss_uart_HEADERNAME
335 icss_uart_HEADERPATH = $(icss_uart_PATH)/bin
336 export icss_uart_HEADERPATH
337 icss_uart_OBJPATH = $(icss_uart_RELPATH)
338 export icss_uart_OBJPATH
339 icss_uart_MAKEFILE = -f ../../build/makefile_icss_uart.mk
340 export icss_uart_MAKEFILE
341 icss_uart_BOARD_DEPENDENCY = no
342 icss_uart_CORE_DEPENDENCY = yes
343 icss_uart_SOC_DEPENDENCY = yes
344 export icss_uart_COMP_LIST
345 export icss_uart_BOARD_DEPENDENCY
346 export icss_uart_CORE_DEPENDENCY
347 export icss_uart_SOC_DEPENDENCY
348 icss_uart_PKG_LIST = icss_uart
349 export icss_uart_PKG_LIST
350 icss_uart_INCLUDE = $(icss_uart_PATH)
351 #icss_uart_SOCLIST = am437x am574x am572x am571x am335x k2g
352 icss_uart_SOCLIST = am335x
353 export icss_uart_SOCLIST
354 icss_uart_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
355 export icss_uart_$(SOC)_CORELIST
358 # UART Examples
361 # UART unit test baremetal app
362 UART_Baremetal_TestApp_COMP_LIST = UART_Baremetal_TestApp
363 UART_Baremetal_TestApp_RELPATH = ti/drv/uart/test
364 UART_Baremetal_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
365 UART_Baremetal_TestApp_BOARD_DEPENDENCY = yes
366 UART_Baremetal_TestApp_CORE_DEPENDENCY = no
367 UART_Baremetal_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes
368 export UART_Baremetal_TestApp_COMP_LIST
369 export UART_Baremetal_TestApp_BOARD_DEPENDENCY
370 export UART_Baremetal_TestApp_CORE_DEPENDENCY
371 export UART_Baremetal_TestApp_MAKEFILE
372 UART_Baremetal_TestApp_PKG_LIST = UART_Baremetal_TestApp
373 UART_Baremetal_TestApp_INCLUDE = $(UART_Baremetal_TestApp_PATH)
374 UART_Baremetal_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
375 export UART_Baremetal_TestApp_BOARDLIST
376 ifeq ($(SOC),$(filter $(SOC), j721e j7200 am64x))
377 UART_Baremetal_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELISTARM)
378 else
379 UART_Baremetal_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
380 endif
382 export UART_Baremetal_TestApp_$(SOC)_CORELIST
383 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
384 UART_Baremetal_TestApp_SBL_APPIMAGEGEN = yes
385 else
386 UART_Baremetal_TestApp_SBL_APPIMAGEGEN = no
387 endif
388 export UART_Baremetal_TestApp_SBL_APPIMAGEGEN
391 # UART unit test baremetal dma app
392 UART_Baremetal_DMA_TestApp_COMP_LIST = UART_Baremetal_DMA_TestApp
393 UART_Baremetal_DMA_TestApp_RELPATH = ti/drv/uart/test
394 UART_Baremetal_DMA_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
395 UART_Baremetal_DMA_TestApp_BOARD_DEPENDENCY = yes
396 UART_Baremetal_DMA_TestApp_CORE_DEPENDENCY = no
397 UART_Baremetal_DMA_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes DMA=enable
398 export UART_Baremetal_DMA_TestApp_COMP_LIST
399 export UART_Baremetal_DMA_TestApp_BOARD_DEPENDENCY
400 export UART_Baremetal_DMA_TestApp_CORE_DEPENDENCY
401 export UART_Baremetal_DMA_TestApp_MAKEFILE
402 UART_Baremetal_DMA_TestApp_PKG_LIST = UART_Baremetal_DMA_TestApp
403 UART_Baremetal_DMA_TestApp_INCLUDE = $(UART_Baremetal_DMA_TestApp_PATH)
404 UART_Baremetal_DMA_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
405 export UART_Baremetal_DMA_TestApp_BOARDLIST
406 ifeq ($(SOC),$(filter $(SOC), j721e j7200 am64x))
407 UART_Baremetal_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELISTARM)
408 else
409 UART_Baremetal_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
410 endif
411 export UART_Baremetal_DMA_TestApp_$(SOC)_CORELIST
412 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
413 UART_Baremetal_DMA_TestApp_SBL_APPIMAGEGEN = yes
414 export UART_Baremetal_DMA_TestApp_SBL_APPIMAGEGEN
415 endif
417 # UART unit test freertos app
418 export UART_Freertos_TestApp_COMP_LIST = UART_Freertos_TestApp
419 UART_Freertos_TestApp_RELPATH = ti/drv/uart/test
420 UART_Freertos_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
421 export UART_Freertos_TestApp_BOARD_DEPENDENCY = yes
422 export UART_Freertos_TestApp_CORE_DEPENDENCY = no
423 export UART_Freertos_TestApp_MAKEFILE = -f makefile IS_FREERTOS=yes
424 UART_Freertos_TestApp_PKG_LIST = UART_Freertos_TestApp
425 UART_Freertos_TestApp_INCLUDE = $(UART_Freertos_TestApp_PATH)
426 export UART_Freertos_TestApp_BOARDLIST = $(drvuart_freertos_BOARDLIST)
427 export UART_Freertos_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_FREERTOS_CORELIST)
428 export UART_Freertos_TestApp_SBL_APPIMAGEGEN = yes
430 # UART unit test freertos dma app
431 export UART_Freertos_DMA_TestApp_COMP_LIST = UART_Freertos_DMA_TestApp
432 UART_Freertos_DMA_TestApp_RELPATH = ti/drv/uart/test
433 UART_Freertos_DMA_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
434 export UART_Freertos_DMA_TestApp_BOARD_DEPENDENCY = yes
435 export UART_Freertos_DMA_TestApp_CORE_DEPENDENCY = no
436 export UART_Freertos_DMA_TestApp_MAKEFILE = -f makefile IS_FREERTOS=yes DMA=enable
437 UART_Freertos_DMA_TestApp_PKG_LIST = UART_Freertos_DMA_TestApp
438 UART_Freertos_DMA_TestApp_INCLUDE = $(UART_Freertos_DMA_TestApp_PATH)
439 export UART_Freertos_DMA_TestApp_BOARDLIST = tpr12_evm
440 export UART_Freertos_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
441 export UART_Freertos_DMA_TestApp_SBL_APPIMAGEGEN = yes
443 # UART unit test rtos app
444 UART_TestApp_COMP_LIST = UART_TestApp
445 UART_TestApp_RELPATH = ti/drv/uart/test
446 UART_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
447 UART_TestApp_BOARD_DEPENDENCY = yes
448 UART_TestApp_CORE_DEPENDENCY = no
449 UART_TestApp_MAKEFILE = -f makefile
450 UART_TestApp_XDC_CONFIGURO = yes
451 export UART_TestApp_COMP_LIST
452 export UART_TestApp_BOARD_DEPENDENCY
453 export UART_TestApp_CORE_DEPENDENCY
454 export UART_TestApp_MAKEFILE
455 export UART_TestApp_XDC_CONFIGURO
456 UART_TestApp_PKG_LIST = UART_TestApp
457 UART_TestApp_INCLUDE = $(UART_TestApp_PATH)
458 UART_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
459 export UART_TestApp_BOARDLIST
460 ifeq ($(SOC),$(filter $(SOC), am64x))
461 UART_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1
462 else
463 UART_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
464 endif
465 export UART_TestApp_$(SOC)_CORELIST
466 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
467 UART_TestApp_SBL_APPIMAGEGEN = yes
468 export UART_TestApp_SBL_APPIMAGEGEN
469 endif
471 # UART unit test rtos app with SMP enabled
472 UART_SMP_TestApp_COMP_LIST = UART_SMP_TestApp
473 UART_SMP_TestApp_RELPATH = ti/drv/uart/test
474 UART_SMP_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
475 UART_SMP_TestApp_BOARD_DEPENDENCY = yes
476 UART_SMP_TestApp_CORE_DEPENDENCY = no
477 UART_SMP_TestApp_MAKEFILE = -f makefile SMP=enable
478 UART_SMP_TestApp_XDC_CONFIGURO = yes
479 export UART_SMP_TestApp_COMP_LIST
480 export UART_SMP_TestApp_BOARD_DEPENDENCY
481 export UART_SMP_TestApp_CORE_DEPENDENCY
482 export UART_SMP_TestApp_MAKEFILE
483 export UART_SMP_TestApp_XDC_CONFIGURO
484 UART_SMP_TestApp_PKG_LIST = UART_SMP_TestApp
485 UART_SMP_TestApp_INCLUDE = $(UART_SMP_TestApp_PATH)
486 UART_SMP_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
487 export UART_SMP_TestApp_BOARDLIST
488 UART_SMP_TestApp_$(SOC)_CORELIST = mpu1_0
489 export UART_SMP_TestApp_$(SOC)_CORELIST
490 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
491 UART_SMP_TestApp_SBL_APPIMAGEGEN = yes
492 export UART_SMP_TestApp_SBL_APPIMAGEGEN
493 endif
495 # UART unit test rtos dma app
496 UART_DMA_TestApp_COMP_LIST = UART_DMA_TestApp
497 UART_DMA_TestApp_RELPATH = ti/drv/uart/test
498 UART_DMA_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
499 UART_DMA_TestApp_BOARD_DEPENDENCY = yes
500 UART_DMA_TestApp_CORE_DEPENDENCY = no
501 UART_DMA_TestApp_MAKEFILE = -f makefile DMA=enable
502 UART_DMA_TestApp_XDC_CONFIGURO = yes
503 export UART_DMA_TestApp_COMP_LIST
504 export UART_DMA_TestApp_BOARD_DEPENDENCY
505 export UART_DMA_TestApp_CORE_DEPENDENCY
506 export UART_DMA_TestApp_MAKEFILE
507 export UART_DMA_TestApp_XDC_CONFIGURO
508 UART_DMA_TestApp_PKG_LIST = UART_DMA_TestApp
509 UART_DMA_TestApp_INCLUDE = $(UART_DMA_TestApp_PATH)
510 UART_DMA_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
511 export UART_DMA_TestApp_BOARDLIST
512 ifeq ($(SOC),$(filter $(SOC), j721e j7200 am64x))
513 UART_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELISTARM)
514 else
515 UART_DMA_TestApp_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
516 endif
517 export UART_DMA_TestApp_$(SOC)_CORELIST
518 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
519 UART_DMA_TestApp_SBL_APPIMAGEGEN = yes
520 export UART_DMA_TestApp_SBL_APPIMAGEGEN
521 endif
523 # UART unit test rtos dma app with SMP enabled
524 UART_DMA_SMP_TestApp_COMP_LIST = UART_DMA_SMP_TestApp
525 UART_DMA_SMP_TestApp_RELPATH = ti/drv/uart/test
526 UART_DMA_SMP_TestApp_PATH = $(PDK_UART_COMP_PATH)/test
527 UART_DMA_SMP_TestApp_BOARD_DEPENDENCY = yes
528 UART_DMA_SMP_TestApp_CORE_DEPENDENCY = no
529 UART_DMA_SMP_TestApp_MAKEFILE = -f makefile DMA=enable SMP=enable
530 UART_DMA_SMP_TestApp_XDC_CONFIGURO = yes
531 export UART_DMA_SMP_TestApp_COMP_LIST
532 export UART_DMA_SMP_TestApp_BOARD_DEPENDENCY
533 export UART_DMA_SMP_TestApp_CORE_DEPENDENCY
534 export UART_DMA_SMP_TestApp_MAKEFILE
535 export UART_DMA_SMP_TestApp_XDC_CONFIGURO
536 UART_DMA_SMP_TestApp_PKG_LIST = UART_DMA_SMP_TestApp
537 UART_DMA_SMP_TestApp_INCLUDE = $(UART_DMA_SMP_TestApp_PATH)
538 UART_DMA_SMP_TestApp_BOARDLIST = $(drvuart_BOARDLIST)
539 export UART_DMA_SMP_TestApp_BOARDLIST
540 UART_DMA_SMP_TestApp_$(SOC)_CORELIST = mpu1_0
541 export UART_DMA_SMP_TestApp_$(SOC)_CORELIST
542 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
543 UART_DMA_SMP_TestApp_SBL_APPIMAGEGEN = yes
544 export UART_DMA_SMP_TestApp_SBL_APPIMAGEGEN
545 endif
547 # UART Polling mode Test app
548 UART_BasicExample_Polling_ExampleProject_COMP_LIST = UART_BasicExample_Polling_ExampleProject
549 UART_BasicExample_Polling_ExampleProject_RELPATH = ti/drv/uart/example/UART_BasicExample_Polling_ExampleProject
550 UART_BasicExample_Polling_ExampleProject_PATH = $(PDK_UART_COMP_PATH)/example/UART_BasicExample_Polling_ExampleProject
551 UART_BasicExample_Polling_ExampleProject_BOARD_DEPENDENCY = yes
552 UART_BasicExample_Polling_ExampleProject_CORE_DEPENDENCY = no
553 UART_BasicExample_Polling_ExampleProject_XDC_CONFIGURO = yes
554 export UART_BasicExample_Polling_ExampleProject_COMP_LIST
555 export UART_BasicExample_Polling_ExampleProject_BOARD_DEPENDENCY
556 export UART_BasicExample_Polling_ExampleProject_CORE_DEPENDENCY
557 export UART_BasicExample_Polling_ExampleProject_XDC_CONFIGURO
558 UART_BasicExample_Polling_ExampleProject_PKG_LIST = UART_BasicExample_Polling_ExampleProject
559 UART_BasicExample_Polling_ExampleProject_INCLUDE = $(UART_BasicExample_Polling_ExampleProject_PATH)
560 UART_BasicExample_Polling_ExampleProject_BOARDLIST = tda2xx-evm tda2px-evm tda2ex-evm tda3xx-evm evmDRA75x evmDRA78x
561 export UART_BasicExample_Polling_ExampleProject_BOARDLIST
562 UART_BasicExample_Polling_ExampleProject_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
563 export UART_BasicExample_Polling_ExampleProject_$(SOC)_CORELIST
564 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
565 UART_BasicExample_Polling_ExampleProject_SBL_APPIMAGEGEN = yes
566 export UART_BasicExample_Polling_ExampleProject_SBL_APPIMAGEGEN
567 endif
569 # UART Interrupt mode Test app
570 UART_BasicExample_Intr_ExampleProject_COMP_LIST = UART_BasicExample_Intr_ExampleProject
571 UART_BasicExample_Intr_ExampleProject_RELPATH = ti/drv/uart/example/UART_BasicExample_Intr_ExampleProject
572 UART_BasicExample_Intr_ExampleProject_PATH = $(PDK_UART_COMP_PATH)/example/UART_BasicExample_Intr_ExampleProject
573 UART_BasicExample_Intr_ExampleProject_BOARD_DEPENDENCY = yes
574 UART_BasicExample_Intr_ExampleProject_CORE_DEPENDENCY = no
575 UART_BasicExample_Intr_ExampleProject_XDC_CONFIGURO = yes
576 export UART_BasicExample_Intr_ExampleProject_COMP_LIST
577 export UART_BasicExample_Intr_ExampleProject_BOARD_DEPENDENCY
578 export UART_BasicExample_Intr_ExampleProject_CORE_DEPENDENCY
579 export UART_BasicExample_Intr_ExampleProject_XDC_CONFIGURO
580 UART_BasicExample_Intr_ExampleProject_PKG_LIST = UART_BasicExample_Intr_ExampleProject
581 UART_BasicExample_Intr_ExampleProject_INCLUDE = $(UART_BasicExample_Intr_ExampleProject_PATH)
582 UART_BasicExample_Intr_ExampleProject_BOARDLIST = tda2xx-evm tda2px-evm tda2ex-evm tda3xx-evm evmDRA75x evmDRA78x
583 export UART_BasicExample_Intr_ExampleProject_BOARDLIST
584 UART_BasicExample_Intr_ExampleProject_$(SOC)_CORELIST = $(drvuart_$(SOC)_CORELIST)
585 export UART_BasicExample_Intr_ExampleProject_$(SOC)_CORELIST
586 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
587 UART_BasicExample_Intr_ExampleProject_SBL_APPIMAGEGEN = yes
588 export UART_BasicExample_Intr_ExampleProject_SBL_APPIMAGEGEN
589 endif
591 export drvuart_LIB_LIST
592 export uart_LIB_LIST
593 export uart_EXAMPLE_LIST
594 export drvuart_EXAMPLE_LIST
595 export drvuart_FIRM_LIST
596 export uart_FIRM_LIST
598 uart_component_make_include := 1
599 endif