]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/osal/src/src_common_freertos.mk
J7AHP: OSAL: Osal bringup
[processor-sdk/pdk.git] / packages / ti / osal / src / src_common_freertos.mk
2 SRCDIR = . src/freertos src/nonos arch/core
3 INCDIR = . src/freertos src/nonos arch/core
5 SRCS_COMMON += SwiP_nonos.c DebugP_nonos.c RegisterIntr_nonos.c Core_utils.c
6 SRCS_COMMON += SemaphoreP_freertos.c TaskP_freertos.c MemoryP_freertos.c Utils_freertos.c
7 SRCS_COMMON += ClockP_freertos.c MailboxP_freertos.c MutexP_freertos.c QueueP_freertos.c
8 SRCS_COMMON += HeapP_freertos.c HeapP_freertos_internal.c EventP_freertos.c LoadP_freertos.c
10 PACKAGE_SRCS_COMMON = makefile HwiP.h SwiP.h MuxIntcP.h osal.h osal_component.mk SemaphoreP.h MemoryP.h TaskP.h \
11                       TimerP.h RegisterIntr.h EventCombinerP.h CycleprofilerP.h CacheP.h DebugP.h MailboxP.h MutexP.h ClockP.h QueueP.h soc/osal_soc.h soc/$(SOC) \
12                       src/nonos/Nonos_config.h src/nonos/SwiP_nonos.c src/nonos/CycleprofilerP_nonos.c \
13                       src/nonos/RegisterIntr_nonos.c src/freertos/SemaphoreP_freertos.c src/freertos/TaskP_freertos.c src/freertos/Utils_freertos.c src/nonos/DebugP_nonos.c \
14                       src/freertos/MemoryP_freertos.c src/freertos/ClockP_freertos.c src/freertos/MailboxP_freertos.c src/freertos/MutexP_freertos.c src/freertos/QueueP_freertos.c \
15                       HeapP.h src/freertos/HeapP_freertos.c src/freertos/HeapP_freertos_internal.c src/freertos/HeapP_freertos_internal.h EventP.h src/freertos/EventP_freertos.c \
16                       LoadP.h src/freertos/LoadP_freertos.c \
17                       src/src_common_freertos.mk src/Module.xs \
18                       arch/core/Core_utils.c docs/OSAL_SoftwareManifest.html docs/ReleaseNotes_OSAL.pdf \
19                       build \
20                       config_mk.bld osalver.h osalver.h.xdt package.bld package.xdc package.xs Settings.xdc.xdt
22 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j721s2 j784s4))
23   SRCDIR      += soc/$(SOC)
24   SRCS_COMMON += TimerP_default.c CycleprofilerP_nonos.c
25 endif
27 ifeq ($(SOC),$(filter $(SOC), j7200))
28   SRCDIR      += soc/$(SOC)
29   SRCS_COMMON += TimerP_default_$(ISA).c CycleprofilerP_nonos.c
30 endif
32 ifeq ($(SOC),$(filter $(SOC), tpr12 awr294x))
33   SRCDIR      += soc/$(SOC)
34   SRCS_COMMON += TimerP_default.c CycleprofilerP_nonos.c
35 endif
37 ifeq ($(CORE),$(filter $(CORE), mcu1_0 mcu2_0 mcu2_1 mcu1_1 mcu3_0 mcu3_1 mcu4_0 mcu4_1))
38   SRCDIR += arch/core/r5
39   SRCS_COMMON += CacheP_nonos.c Arch_util.c
40   SRCS_ASM_COMMON += TimestampProvider_asm.asm
41   PACKAGE_SRCS_COMMON += arch/core/r5
42 endif
44 ifeq ($(CORE),$(filter $(CORE), c66x c66xdsp_1 c66xdsp_2 c674x))
45   SRCDIR += arch/core/c6x
46   SRCS_COMMON += CacheP_nonos.c Arch_util.c EventCombinerP_nonos.c
47   PACKAGE_SRCS_COMMON += arch/core/c6x src/nonos/EventCombinerP_nonos.c
48 endif
50 ifeq ($(CORE),$(filter $(CORE), c7x_1 c7x_2 c7x_3 c7x_4))
51   SRCS_COMMON += HwiP_freertos_c7x.c CacheP_freertos_c7x.c freertos_mmu.c
52   PACKAGE_SRCS_COMMON += src/freertos/CacheP_freertos_c7x.c
53   PACKAGE_SRCS_COMMON += src/freertos/HwiP_freertos_c7x.c
54 else
55   SRCS_COMMON += HwiP_freertos.c
56   PACKAGE_SRCS_COMMON += src/freertos/HwiP_freertos.c
57 endif