[PDK-9369] OSAL: FreeRTOS Support for J721E/J7VCL/AM65xx R5F cores
[processor-sdk/pdk.git] / packages / ti / osal / osal_component.mk
1 #
2 # Copyright (c) 2016-2021, 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: osal_component.mk
34 #       This file is component include make file of OSAL 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 #                             board and the compiled obj/lib has to be kept
47 #                             under <board> directory
48 #                             "no" or "" or if this variable is not defined: means
49 #                             this module has no baord dependent code and hence
50 #                             the obj/libs are not kept under <board> 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 ($(osal_component_make_include), )
69 libosal_BOARDLIST       = evmAM572x evmAM335x evmAM437x iceK2G idkAM574x idkAM572x idkAM571x idkAM437x am65xx_evm am65xx_idk evmOMAPL137 lcdkOMAPL138 evmK2E evmK2H evmK2K evmK2L j721e_evm j7200_evm am64x_evm tpr12_evm tpr12_qt awr294x_evm
70 libosal_SOCLIST         = tda2xx tda2px tda2ex tda3xx dra78x dra72x dra75x am574x am572x am571x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx j721e j7200 am64x tpr12 awr294x
71 libosal_freertos_BOARDLIST  = am65xx_evm j721e_evm j7200_evm tpr12_evm awr294x_evm
72 libosal_freertos_SOCLIST    = am65xx j721e j7200 tpr12 awr294x
73 libosal_tda2xx_CORELIST = a15_0 ipu1_0
74 libosal_tda2px_CORELIST = a15_0 ipu1_0
75 libosal_tda2ex_CORELIST = a15_0 ipu1_0
76 libosal_tda3xx_CORELIST = ipu1_0
77 libosal_dra72x_CORELIST = c66x a15_0 ipu1_0
78 libosal_dra75x_CORELIST = c66x a15_0 ipu1_0
79 libosal_dra78x_CORELIST = c66x ipu1_0
80 libosal_am574x_CORELIST = c66x a15_0 ipu1_0
81 libosal_am572x_CORELIST = c66x a15_0 ipu1_0
82 libosal_am571x_CORELIST = c66x a15_0 ipu1_0
83 libosal_k2h_CORELIST    = c66x a15_0
84 libosal_k2k_CORELIST    = c66x a15_0
85 libosal_k2l_CORELIST    = c66x a15_0
86 libosal_k2e_CORELIST    = c66x a15_0
87 libosal_k2g_CORELIST    = c66x a15_0
88 libosal_omapl137_CORELIST    = c674x arm9_0
89 libosal_omapl138_CORELIST    = c674x arm9_0
90 libosal_c6678_CORELIST  = c66x
91 libosal_c6657_CORELIST  = c66x
92 libosal_am437x_CORELIST = a9host
93 libosal_am335x_CORELIST = a8host
94 libosal_am65xx_CORELIST = $(DEFAULT_am65xx_CORELIST)
95 libosal_j721e_CORELIST = $(DEFAULT_j721e_CORELIST)
96 libosal_j7200_CORELIST = $(DEFAULT_j7200_CORELIST)
97 libosal_am64x_CORELIST = $(DEFAULT_am64x_CORELIST)
98 libosal_tpr12_CORELIST = $(DEFAULT_tpr12_CORELIST)
99 libosal_awr294x_CORELIST = $(DEFAULT_awr294x_CORELIST)
100 libosal_freertos_am65xx_CORELIST = mcu1_0 mcu1_1
101 libosal_freertos_j721e_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
102 libosal_freertos_j7200_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1
103 libosal_freertos_tpr12_CORELIST = $(DEFAULT_tpr12_CORELIST)
104 libosal_freertos_awr294x_CORELIST = $(DEFAULT_awr294x_CORELIST)
107 ############################
108 # osal package
109 # List of components included under osal lib
110 # The components included here are built and will be part of osal lib
111 ############################
112 osal_LIB_LIST = osal_nonos osal_nonos_indp
113 ifeq ($(BUILD_OS_TYPE),tirtos)
114 osal_LIB_LIST += osal_tirtos osal_tirtos_indp
115 endif
116 osal_LIB_LIST += osal_freertos
117 libosal_LIB_LIST = $(osal_LIB_LIST)
119 ############################
120 # osal examples
121 # List of examples under osal
122 # All the tests mentioned in list are built when test target is called
123 # List below all examples for allowed values
124 ############################
125 osal_EXAMPLE_LIST =
128 # OSAL Modules
131 # OSAL NONOS LIB
132 osal_nonos_COMP_LIST = osal_nonos
133 osal_nonos_RELPATH = ti/osal
134 osal_nonos_PATH = $(PDK_OSAL_COMP_PATH)
135 osal_nonos_LIBNAME = ti.osal
136 export osal_nonos_LIBNAME
137 osal_nonos_LIBPATH = $(osal_nonos_PATH)/lib/nonos
138 export osal_nonos_LIBPATH
139 osal_nonos_OBJPATH = $(osal_nonos_RELPATH)/osal_nonos
140 export osal_nonos_OBJPATH
141 osal_nonos_MAKEFILE = -f build/makefile_nonos.mk
142 export osal_nonos_MAKEFILE
143 osal_nonos_PLATFORM_DEPENDENCY = no
144 osal_nonos_CORE_DEPENDENCY = no
145 osal_nonos_SOC_DEPENDENCY = yes
146 export osal_nonos_COMP_LIST
147 export osal_nonos_PLATFORM_DEPENDENCY
148 export osal_nonos_CORE_DEPENDENCY
149 export osal_nonos_SOC_DEPENDENCY
150 osal_nonos_PKG_LIST = osal_nonos
151 export osal_nonos_PKG_LIST
152 osal_nonos_INCLUDE = $(osal_nonos_PATH)
153 osal_nonos_SOCLIST = $(libosal_SOCLIST)
154 export osal_nonos_SOCLIST
155 osal_nonos_$(SOC)_CORELIST = $(libosal_$(SOC)_CORELIST)
156 ifeq ($(SOC),$(filter $(SOC), j721e))
157 osal_nonos_$(SOC)_CORELIST += c7x-hostemu
158 endif
159 export osal_nonos_$(SOC)_CORELIST
161 # OSAL NONOS LIB DEVICE INDEPENDENT
162 osal_nonos_indp_COMP_LIST = osal_nonos_indp
163 osal_nonos_indp_RELPATH = ti/osal
164 osal_nonos_indp_PATH = $(PDK_OSAL_COMP_PATH)
165 osal_nonos_indp_LIBNAME = ti.osal
166 export osal_nonos_indp_LIBNAME
167 osal_nonos_indp_LIBPATH = $(osal_nonos_indp_PATH)/lib/nonos
168 export osal_nonos_indp_LIBPATH
169 osal_nonos_indp_OBJPATH = $(osal_nonos_indp_RELPATH)/osal_nonos_indp
170 export osal_nonos_indp_OBJPATH
171 osal_nonos_indp_MAKEFILE = -f build/makefile_nonos_indp.mk
172 export osal_nonos_indp_MAKEFILE
173 osal_nonos_indp_PLATFORM_DEPENDENCY = no
174 osal_nonos_indp_CORE_DEPENDENCY = no
175 osal_nonos_indp_SOC_DEPENDENCY = no
176 export osal_nonos_indp_COMP_LIST
177 export osal_nonos_indp_PLATFORM_DEPENDENCY
178 export osal_nonos_indp_CORE_DEPENDENCY
179 export osal_nonos_indp_SOC_DEPENDENCY
180 osal_nonos_indp_PKG_LIST = osal_nonos_indp
181 export osal_nonos_indp_PKG_LIST
182 osal_nonos_indp_INCLUDE = $(osal_nonos_indp_PATH)
183 osal_nonos_indp_SOCLIST = 
184 export osal_nonos_indp_SOCLIST
185 osal_nonos_indp_$(SOC)_CORELIST = $(libosal_$(SOC)_CORELIST)
186 export osal_nonos_indp_$(SOC)_CORELIST
188 # OSAL TIRTOS LIB
189 osal_tirtos_COMP_LIST = osal_tirtos
190 osal_tirtos_RELPATH = ti/osal
191 osal_tirtos_PATH = $(PDK_OSAL_COMP_PATH)
192 osal_tirtos_LIBNAME = ti.osal
193 export osal_tirtos_LIBNAME
194 osal_tirtos_LIBPATH = $(osal_tirtos_PATH)/lib/tirtos
195 export osal_tirtos_LIBPATH
196 osal_tirtos_OBJPATH = $(osal_tirtos_RELPATH)/osal_tirtos
197 export osal_tirtos_OBJPATH
198 osal_tirtos_MAKEFILE = -f build/makefile_tirtos.mk
199 export osal_tirtos_MAKEFILE
200 osal_tirtos_PLATFORM_DEPENDENCY = no
201 osal_tirtos_CORE_DEPENDENCY = no
202 osal_tirtos_SOC_DEPENDENCY = yes
203 export osal_tirtos_COMP_LIST
204 export osal_tirtos_PLATFORM_DEPENDENCY
205 export osal_tirtos_CORE_DEPENDENCY
206 export osal_tirtos_SOC_DEPENDENCY
207 osal_tirtos_PKG_LIST = osal_tirtos
208 export osal_tirtos_PKG_LIST
209 osal_tirtos_INCLUDE = $(osal_tirtos_PATH)
210 osal_tirtos_SOCLIST = $(libosal_SOCLIST)
211 export osal_tirtos_SOCLIST
212 osal_tirtos_$(SOC)_CORELIST = $(libosal_$(SOC)_CORELIST)
213 export osal_tirtos_$(SOC)_CORELIST
215 # OSAL TIRTOS DEVICE INDEPENDENT
216 osal_tirtos_indp_COMP_LIST = osal_tirtos_indp
217 osal_tirtos_indp_RELPATH = ti/osal
218 osal_tirtos_indp_PATH = $(PDK_OSAL_COMP_PATH)
219 osal_tirtos_indp_LIBNAME = ti.osal
220 export osal_tirtos_indp_LIBNAME
221 osal_tirtos_indp_LIBPATH = $(osal_tirtos_indp_PATH)/lib/tirtos
222 export osal_tirtos_indp_LIBPATH
223 osal_tirtos_indp_OBJPATH = $(osal_tirtos_indp_RELPATH)/osal_tirtos_indp
224 export osal_tirtos_indp_OBJPATH
225 osal_tirtos_indp_MAKEFILE = -f build/makefile_tirtos_indp.mk
226 export osal_tirtos_indp_MAKEFILE
227 osal_tirtos_indp_PLATFORM_DEPENDENCY = no
228 osal_tirtos_indp_CORE_DEPENDENCY = no
229 osal_tirtos_indp_SOC_DEPENDENCY = no
230 export osal_tirtos_indp_COMP_LIST
231 export osal_tirtos_indp_PLATFORM_DEPENDENCY
232 export osal_tirtos_indp_CORE_DEPENDENCY
233 export osal_tirtos_indp_SOC_DEPENDENCY
234 osal_tirtos_indp_PKG_LIST = osal_tirtos_indp
235 export osal_tirtos_indp_PKG_LIST
236 osal_tirtos_indp_INCLUDE = $(osal_tirtos_indp_PATH)
237 osal_tirtos_indp_SOCLIST = 
238 export osal_tirtos_indp_SOCLIST
239 osal_tirtos_indp_$(SOC)_CORELIST = $(libosal_$(SOC)_CORELIST)
240 export osal_tirtos_indp_$(SOC)_CORELIST
242 # OSAL FREE RTOS LIB
243 osal_freertos_COMP_LIST = osal_freertos
244 osal_freertos_RELPATH = ti/osal
245 osal_freertos_PATH = $(PDK_OSAL_COMP_PATH)
246 osal_freertos_LIBNAME = ti.osal
247 export osal_freertos_LIBNAME
248 osal_freertos_LIBPATH = $(osal_freertos_PATH)/lib/freertos
249 export osal_freertos_LIBPATH
250 osal_freertos_OBJPATH = $(osal_freertos_RELPATH)/osal_freertos
251 export osal_freertos_OBJPATH
252 osal_freertos_MAKEFILE = -f build/makefile_freertos.mk
253 export osal_freertos_MAKEFILE
254 osal_freertos_PLATFORM_DEPENDENCY = no
255 osal_freertos_CORE_DEPENDENCY = no
256 osal_freertos_SOC_DEPENDENCY = yes
257 export osal_freertos_COMP_LIST
258 export osal_freertos_PLATFORM_DEPENDENCY
259 export osal_freertos_CORE_DEPENDENCY
260 export osal_freertos_SOC_DEPENDENCY
261 osal_freertos_PKG_LIST = osal_freertos
262 export osal_freertos_PKG_LIST
263 osal_freertos_INCLUDE = $(osal_freertos_PATH)
264 osal_freertos_SOCLIST = $(libosal_freertos_SOCLIST)
265 export osal_freertos_SOCLIST
266 osal_freertos_$(SOC)_CORELIST = $(libosal_freertos_$(SOC)_CORELIST)
267 export osal_freertos_$(SOC)_CORELIST
270 # OSAL Examples
272 OSAL_Baremetal_TestApp_COMP_LIST = OSAL_Baremetal_TestApp
273 OSAL_Baremetal_TestApp_RELPATH = ti/osal/test/baremetal
274 OSAL_Baremetal_TestApp_PATH = $(PDK_OSAL_COMP_PATH)/test/baremetal
275 OSAL_Baremetal_TestApp_BOARD_DEPENDENCY = yes
276 OSAL_Baremetal_TestApp_CORE_DEPENDENCY = no
277 export OSAL_Baremetal_TestApp_COMP_LIST
278 export OSAL_Baremetal_TestApp_BOARD_DEPENDENCY
279 export OSAL_Baremetal_TestApp_CORE_DEPENDENCY
280 OSAL_Baremetal_TestApp_PKG_LIST = OSAL_Baremetal_TestApp
281 OSAL_Baremetal_TestApp_INCLUDE = $(OSAL_Baremetal_TestApp_PATH)
282 OSAL_Baremetal_TestApp_BOARDLIST = $(libosal_BOARDLIST)
283 export OSAL_Baremetal_TestApp_BOARDLIST
284 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x))
285 OSAL_Baremetal_TestApp_SBL_APPIMAGEGEN = yes
286 else
287 OSAL_Baremetal_TestApp_SBL_APPIMAGEGEN = no
288 endif
289 export OSAL_Baremetal_TestApp_SBL_APPIMAGEGEN
291 # OSAL FreeRTOS unit test app
292 OSAL_freertos_TestApp_COMP_LIST = OSAL_freertos_TestApp
293 OSAL_freertos_TestApp_RELPATH = ti/osal/test/freertos
294 OSAL_freertos_TestApp_PATH = $(PDK_OSAL_COMP_PATH)/test/freertos
295 OSAL_freertos_TestApp_BOARD_DEPENDENCY = yes
296 OSAL_freertos_TestApp_CORE_DEPENDENCY = no
297 export OSAL_freertos_TestApp_COMP_LIST
298 export OSAL_freertos_TestApp_BOARD_DEPENDENCY
299 export OSAL_freertos_TestApp_CORE_DEPENDENCY
300 OSAL_freertos_TestApp_PKG_LIST = OSAL_freertos_TestApp
301 OSAL_freertos_TestApp_INCLUDE = $(OSAL_freertos_TestApp_PATH)
302 OSAL_freertos_TestApp_BOARDLIST = $(libosal_freertos_BOARDLIST)
303 export OSAL_freertos_TestApp_BOARDLIST
304 OSAL_freertos_TestApp_SBL_APPIMAGEGEN = yes
305 export OSAL_freertos_TestApp_SBL_APPIMAGEGEN
307 # OSAL sysbios unit test app
308 OSAL_TestApp_COMP_LIST = OSAL_TestApp
309 OSAL_TestApp_RELPATH = ti/osal/test/sysbios_unit_test
310 OSAL_TestApp_PATH = $(PDK_OSAL_COMP_PATH)/test/sysbios_unit_test
311 OSAL_TestApp_BOARD_DEPENDENCY = yes
312 OSAL_TestApp_CORE_DEPENDENCY = no
313 OSAL_TestApp_XDC_CONFIGURO = yes
314 export OSAL_TestApp_COMP_LIST
315 export OSAL_TestApp_BOARD_DEPENDENCY
316 export OSAL_TestApp_CORE_DEPENDENCY
317 export OSAL_TestApp_XDC_CONFIGURO
318 OSAL_TestApp_PKG_LIST = OSAL_TestApp
319 OSAL_TestApp_INCLUDE = $(OSAL_TestApp_PATH)
320 OSAL_TestApp_BOARDLIST = $(libosal_BOARDLIST)
321 export OSAL_TestApp_BOARDLIST
322 OSAL_TestApp_$(SOC)_CORELIST = $(osal_$(SOC)_CORELIST)
323 export OSAL_TestApp_$(SOC)_CORELIST
324 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200 am64x tpr12))
325 OSAL_TestApp_SBL_APPIMAGEGEN = yes
326 else
327 OSAL_TestApp_SBL_APPIMAGEGEN = no
328 endif
329 export OSAL_TestApp_SBL_APPIMAGEGEN
331 #Default Core List
332 OSAL_Baremetal_TestApp_$(SOC)_CORELIST = a15_0 c66x
334 # Overwrite default core list for below SoCs
335 ifeq ($(BOARD),$(filter $(BOARD), idkAM574x evmAM572x idkAM572x idkAM571x))
336 OSAL_Baremetal_TestApp_$(SOC)_CORELIST = a15_0 ipu1_0 c66x
337 endif
339 ifeq ($(BOARD),$(filter $(BOARD), evmAM335x))
340 OSAL_Baremetal_TestApp_$(SOC)_CORELIST = a8host
341 endif
344 ifeq ($(BOARD),$(filter $(BOARD), evmAM437x idkAM437x))
345 OSAL_Baremetal_TestApp_$(SOC)_CORELIST = a9host
346 endif
348 ifeq ($(BOARD),$(filter $(BOARD), evmOMAPL137))
349 osal_baremetal_test_$(SOC)_CORELIST = c674x arm9_0
350 endif
352 ifeq ($(BOARD),$(filter $(BOARD), lcdkOMAPL138))
353 osal_baremetal_test_$(SOC)_CORELIST = c674x arm9_0
354 endif
356 ifeq ($(BOARD),$(filter $(BOARD), evmK2E))
357 osal_baremetal_test_$(SOC)_CORELIST = c66x a15_0
358 endif
360 ifeq ($(BOARD),$(filter $(BOARD), evmK2H evmK2K))
361 osal_baremetal_test_$(SOC)_CORELIST = c66x a15_0
362 endif
364 ifeq ($(BOARD),$(filter $(BOARD), evmK2L))
365 osal_baremetal_test_$(SOC)_CORELIST = c66x a15_0
366 endif
368 ifeq ($(BOARD),$(filter $(BOARD), evmOMAPL137))
369 osal_baremetal_test_$(SOC)_CORELIST = c674x arm9_0
370 endif
372 ifeq ($(BOARD),$(filter $(BOARD), lcdkOMAPL138))
373 osal_baremetal_test_$(SOC)_CORELIST = c674x arm9_0
374 endif
376 ifeq ($(BOARD),$(filter $(BOARD), evmK2E))
377 osal_baremetal_test_$(SOC)_CORELIST = c66x a15_0
378 endif
380 ifeq ($(BOARD),$(filter $(BOARD), evmK2H evmK2K))
381 osal_baremetal_test_$(SOC)_CORELIST = c66x a15_0
382 endif
384 ifeq ($(BOARD),$(filter $(BOARD), evmK2L))
385 osal_baremetal_test_$(SOC)_CORELIST = c66x a15_0
386 endif
388 ifeq ($(SOC),$(filter $(SOC), dra72x dra75x))
389 OSAL_Baremetal_TestApp_$(SOC)_CORELIST = a15_0 ipu1_0 c66x
390 endif
392 ifeq ($(SOC),$(filter $(SOC), dra78x))
393 OSAL_Baremetal_TestApp_$(SOC)_CORELIST = ipu1_0 c66x
394 endif
396 ifeq ($(SOC),$(filter $(SOC), am64x))
397  OSAL_TestApp_$(SOC)_CORELIST = mcu1_0 mpu1_0 mcu2_0
398  OSAL_Baremetal_TestApp_$(SOC)_CORELIST = mcu1_0 mpu1_0 m4f_0 mcu2_0
399 endif
401 ifeq ($(SOC),$(filter $(SOC), am65xx))
402  OSAL_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0
403  OSAL_Baremetal_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0
404  OSAL_freertos_TestApp_$(SOC)_CORELIST = mcu1_0 mcu1_1
405 endif
407 ifeq ($(SOC),$(filter $(SOC), j721e))
408  OSAL_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0 mcu2_0 mcu3_0 c66xdsp_1 c7x_1
409  OSAL_Baremetal_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0 mcu2_0 mcu3_0
410  OSAL_freertos_TestApp_$(SOC)_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
411 endif
413 ifeq ($(SOC),$(filter $(SOC), j7200))
414  OSAL_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0 mcu2_0
415  OSAL_Baremetal_TestApp_$(SOC)_CORELIST = mpu1_0 mcu1_0 mcu2_0
416  OSAL_freertos_TestApp_$(SOC)_CORELIST = mcu1_0 mcu1_1 mcu2_0 mcu2_1
417 endif
419 ifeq ($(SOC),$(filter $(SOC), tpr12))
420  OSAL_TestApp_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
421  OSAL_Baremetal_TestApp_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
422  OSAL_freertos_TestApp_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
423 endif
425 ifeq ($(SOC),$(filter $(SOC), awr294x))
426  OSAL_TestApp_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
427  OSAL_Baremetal_TestApp_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
428 endif
430 export OSAL_Baremetal_TestApp_$(SOC)_CORELIST
431 export OSAL_TestApp_$(SOC)_CORELIST
432 export OSAL_freertos_TestApp_$(SOC)_CORELIST
434 osal_EXAMPLE_LIST += OSAL_Baremetal_TestApp
435 osal_EXAMPLE_LIST += OSAL_freertos_TestApp
437 # do not support RTOS example for AM64x yet
438 osal_EXAMPLE_LIST += OSAL_TestApp
440 ifeq ($(CPLUSPLUS_BUILD), yes)
441 #cpptest
442 cpptest_COMP_LIST = cpptest
443 cpptest_RELPATH = ti/osal/test/cpptest
444 cpptest_PATH = $(PDK_OSAL_COMP_PATH)/test/cpptest
445 cpptest_BOARD_DEPENDENCY = yes
446 cpptest_CORE_DEPENDENCY = yes
447 export cpptest_COMP_LIST
448 export cpptest_BOARD_DEPENDENCY
449 export cpptest_CORE_DEPENDENCY
450 cpptest_PKG_LIST = cpptest
451 cpptest_INCLUDE = $(cpptest_PATH)
452 cpptest_BOARDLIST = $(libosal_BOARDLIST)
453 export cpptest_BOARDLIST
455 #Default Core List
456 ifeq ($(BOARD),$(filter $(BOARD), evmAM335x))
457 cpptest_$(SOC)_CORELIST = a8host
458 endif
460 ifeq ($(BOARD),$(filter $(BOARD), evmAM437x idkAM437x))
461 cpptest_$(SOC)_CORELIST = a9host
462 endif
464 ifeq ($(BOARD),$(filter $(BOARD), idkAM574x evmAM572x idkAM572x idkAM571x))
465 cpptest_$(SOC)_CORELIST = a15_0 ipu1_0 c66x
466 endif
468 ifeq ($(BOARD),$(filter $(BOARD), evmK2G iceK2G))
469 cpptest_$(SOC)_CORELIST = c66x a15_0
470 endif
472 export cpptest_$(SOC)_CORELIST
473 osal_EXAMPLE_LIST += cpptest
474 endif
476 export osal_LIB_LIST
477 export libosal_LIB_LIST
478 export osal_EXAMPLE_LIST
480 libosal_EXAMPLE_LIST = $(osal_EXAMPLE_LIST)
481 export libosal_EXAMPLE_LIST
483 osal_component_make_include := 1
484 endif