source: rtems/c/src/lib/libbsp/arm/tms570/Makefile.am @ b2ed712

Last change on this file since b2ed712 was 0e6542fb, checked in by Pavel Pisa <ppisa@…>, on Apr 29, 2017 at 1:20:28 PM

bsp/tms570: include package balls and PINMMR registers mapping for TMS5704357 ZWT chip.

The extended mechanism for switching input path by separated
alternative registers is already implemented in TMS570
pin multiplexer driver used for TMS570LS31xx

rtems/c/src/lib/libbsp/arm/tms570/pinmux/pinmux.c

But the code has not been tested on real TMS570LC43xx hardware yet.

  • Property mode set to 100644
File size: 7.2 KB
Line 
1##
2#
3# @file makefile.am
4#
5# @brief Makefile of LibBSP for the TMS570 boards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9
10include $(top_srcdir)/../../../../automake/compile.am
11
12include_bspdir = $(includedir)/bsp
13include_libcpudir = $(includedir)/libcpu
14
15include_bsp_ti_herculesdir = $(includedir)/bsp/ti_herc
16
17dist_project_lib_DATA = bsp_specs
18
19# ----------------------------
20# ------  Headers
21# ----------------------------
22
23include_HEADERS = include/bsp.h
24
25nodist_include_HEADERS = ../../shared/include/coverhd.h
26nodist_include_HEADERS += include/bspopts.h
27
28nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
29
30include_bsp_HEADERS =
31include_bsp_HEADERS += ../../shared/include/utility.h
32include_bsp_HEADERS += ../../shared/include/irq-generic.h
33include_bsp_HEADERS += ../../shared/include/irq-info.h
34include_bsp_HEADERS += ../../shared/include/stackalloc.h
35include_bsp_HEADERS += ../../shared/include/uart-output-char.h
36include_bsp_HEADERS += ../shared/include/start.h
37include_bsp_HEADERS += include/tms570.h
38include_bsp_HEADERS += include/tms570-sci.h
39include_bsp_HEADERS += include/irq.h
40include_bsp_HEADERS += include/tms570-rti.h
41include_bsp_HEADERS += include/tms570-vim.h
42include_bsp_HEADERS += include/tms570-pom.h
43include_bsp_HEADERS += include/tms570-sci-driver.h
44include_bsp_HEADERS += include/system-clocks.h
45include_bsp_HEADERS += include/tms570-pinmux.h
46
47include_bsp_HEADERS += include/tms570-pins.h
48include_bsp_HEADERS += include/tms570ls3137zwt-pins.h
49include_bsp_HEADERS += include/tms570lc4357-pins.h
50
51include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
52
53include_bsp_ti_hercules_HEADERS = include/ti_herc/reg_adc.h
54include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_ccmsr.h
55include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_crc.h
56include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dcan.h
57include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dcc.h
58include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dma.h
59include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dmm.h
60include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_efuse.h
61include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emacc.h
62include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emacm.h
63include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emif.h
64include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_esm.h
65include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_flash.h
66include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_flex_ray.h
67include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_gio.h
68include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_htu.h
69include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_i2c.h
70include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_iomm.h
71include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_lin.h
72include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_mdio.h
73include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_n2het.h
74include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pbist.h
75include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pll.h
76include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pmm.h
77include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_rti.h
78include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_rtp.h
79include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sci.h
80include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_tcr.h
81include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_tcram.h
82include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_vim.h
83include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pom.h
84include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_spi.h
85include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_stc.h
86include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sys.h
87include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sys2.h
88include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pcr.h
89
90include_HEADERS += ../../shared/include/tm27.h
91
92# ----------------------------
93# ------  Data
94# ----------------------------
95
96noinst_LIBRARIES = libbspstart.a
97
98libbspstart_a_SOURCES = ../shared/start/start.S
99
100project_lib_DATA = start.$(OBJEXT)
101project_lib_DATA += startup/linkcmds
102
103EXTRA_DIST =
104EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk
105EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_with_loader
106EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_sdram
107EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_intram
108
109# ----------------------------
110# ------  LibBSP
111# ----------------------------
112
113noinst_LIBRARIES += libbsp.a
114
115libbsp_a_SOURCES =
116libbsp_a_CPPFLAGS =
117libbsp_a_LIBADD =
118
119# Shared
120libbsp_a_SOURCES += ../../shared/bootcard.c
121libbsp_a_SOURCES += ../../shared/bspclean.c
122libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
123libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
124libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
125libbsp_a_SOURCES += ../../shared/sbrk.c
126libbsp_a_SOURCES += ../../shared/src/stackalloc.c
127libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
128libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
129libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
130
131# Startup
132libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
133libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
134libbsp_a_SOURCES += startup/bspreset.c
135libbsp_a_SOURCES += startup/bspstart.c
136
137# POM
138libbsp_a_SOURCES += pom/tms570-pom.c
139
140# IRQ
141libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
142libbsp_a_SOURCES += ../../shared/src/irq-generic.c
143libbsp_a_SOURCES += ../../shared/src/irq-info.c
144libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
145libbsp_a_SOURCES += ../../shared/src/irq-server.c
146libbsp_a_SOURCES += ../../shared/src/irq-shell.c
147libbsp_a_SOURCES += irq/irq.c
148
149# Console
150libbsp_a_SOURCES += ../../shared/console-termios.c
151libbsp_a_SOURCES += console/printk-support.c
152libbsp_a_SOURCES += console/tms570-sci.c
153
154# Clock
155libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
156libbsp_a_SOURCES += clock/clock.c
157
158# RTC
159
160# GPIO
161libbsp_a_SOURCES += pinmux/pinmux.c
162
163# Benchmark Timer
164libbsp_a_SOURCES += ../../shared/timercpucounter.c
165
166# Misc
167libbsp_a_SOURCES += misc/cpucounterread.c
168
169# Watchdog
170
171# Cache
172libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
173libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
174libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
175
176if TMS570_USE_HWINIT_STARTUP
177libbsp_a_SOURCES += hwinit/tms570_sys_core.S
178libbsp_a_SOURCES += hwinit/fail_notification.c
179libbsp_a_SOURCES += hwinit/init_emif_sdram.c
180libbsp_a_SOURCES += hwinit/init_esm.c
181libbsp_a_SOURCES += hwinit/init_pinmux.c
182libbsp_a_SOURCES += hwinit/init_system.c
183libbsp_a_SOURCES += hwinit/tms570_selftest.c
184libbsp_a_SOURCES += hwinit/tms570_selftest_par_can.c
185libbsp_a_SOURCES += hwinit/tms570_selftest_par_mibspi.c
186libbsp_a_SOURCES += hwinit/tms570_selftest_par_std.c
187libbsp_a_SOURCES += hwinit/tms570_selftest_parity.c
188libbsp_a_SOURCES += hwinit/tms570_tcram_tests.c
189
190include_bsp_HEADERS += hwinit/tms570_selftest_parity.h
191include_bsp_HEADERS += hwinit/tms570_hwinit.h
192include_bsp_HEADERS += hwinit/tms570_selftest.h
193
194# Start hooks
195libbsp_a_SOURCES += hwinit/bspstarthooks-hwinit.c
196else
197# Start hooks
198libbsp_a_SOURCES += startup/bspstarthooks.c
199endif
200
201# ----------------------------
202# ------  Special Rules
203# ----------------------------
204
205DISTCLEANFILES = include/bspopts.h
206
207include $(srcdir)/preinstall.am
208include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.