source: rtems/c/src/lib/libbsp/arm/stm32f4/Makefile.am @ 0afac6a

4.115
Last change on this file since 0afac6a was 040ed0b4, checked in by Chris Nott <chrisn@…>, on Oct 18, 2014 at 8:55:37 AM

bsp/stm32f4: Add header files

Added register definition headers for STM32F4 ADC, EXTI, PWR, SYSCFG,
TIM, OTGFS and updated FLASH and RCC. Fixed PLL_Q for USB 48MHz
operation. Added flash prefetch enable.

  • Property mode set to 100644
File size: 5.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7###############################################################################
8#                  Data                                                       #
9###############################################################################
10
11dist_project_lib_DATA = bsp_specs
12
13noinst_LIBRARIES = libbspstart.a
14
15libbspstart_a_SOURCES = ../shared/start/start.S
16
17project_lib_DATA =
18project_lib_DATA += start.$(OBJEXT)
19project_lib_DATA += startup/linkcmds
20
21EXTRA_DIST = startup/linkcmds.stm32f4
22EXTRA_DIST += startup/linkcmds.stm32f105rc
23
24###############################################################################
25#                  Header                                                     #
26###############################################################################
27
28include_HEADERS =
29include_HEADERS += ../../shared/include/tm27.h
30include_HEADERS += include/bsp.h
31
32nodist_include_HEADERS =
33nodist_include_HEADERS += ../../shared/include/coverhd.h
34nodist_include_HEADERS += include/bspopts.h
35
36nodist_include_bsp_HEADERS =
37nodist_include_bsp_HEADERS += ../../shared/include/bootcard.h
38
39include_bsp_HEADERS =
40include_bsp_HEADERS += ../../shared/include/utility.h
41include_bsp_HEADERS += ../../shared/include/irq-generic.h
42include_bsp_HEADERS += ../../shared/include/irq-info.h
43include_bsp_HEADERS += ../../shared/include/stackalloc.h
44include_bsp_HEADERS += ../shared/include/start.h
45include_bsp_HEADERS += ../shared/armv7m/include/armv7m-irq.h
46include_bsp_HEADERS += include/irq.h
47include_bsp_HEADERS += include/usart.h
48include_bsp_HEADERS += include/stm32f4.h
49include_bsp_HEADERS += include/stm32f10xxx_gpio.h
50include_bsp_HEADERS += include/stm32f10xxx_rcc.h
51include_bsp_HEADERS += include/stm32f10xxx_exti.h
52include_bsp_HEADERS += include/stm32f4xxxx_adc.h
53include_bsp_HEADERS += include/stm32f4xxxx_exti.h
54include_bsp_HEADERS += include/stm32f4xxxx_gpio.h
55include_bsp_HEADERS += include/stm32f4xxxx_rcc.h
56include_bsp_HEADERS += include/stm32f4xxxx_pwr.h
57include_bsp_HEADERS += include/stm32f4xxxx_syscfg.h
58include_bsp_HEADERS += include/stm32f4xxxx_tim.h
59include_bsp_HEADERS += include/stm32f4xxxx_flash.h
60include_bsp_HEADERS += include/stm32f4xxxx_otgfs.h
61include_bsp_HEADERS += include/stm32_i2c.h
62include_bsp_HEADERS += include/i2c.h
63include_bsp_HEADERS += include/stm32_usart.h
64include_bsp_HEADERS += include/io.h
65include_bsp_HEADERS += include/rcc.h
66
67###############################################################################
68#                  LibBSP                                                     #
69###############################################################################
70
71noinst_LIBRARIES += libbsp.a
72
73libbsp_a_SOURCES =
74libbsp_a_CPPFLAGS =
75libbsp_a_LIBADD =
76
77# Shared
78libbsp_a_SOURCES += ../../shared/bootcard.c
79libbsp_a_SOURCES += ../../shared/bspclean.c
80libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
81libbsp_a_SOURCES += ../../shared/bsplibc.c
82libbsp_a_SOURCES += ../../shared/bsppost.c
83libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
84libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
85libbsp_a_SOURCES += ../../shared/cpucounterread.c
86libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
87libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
88libbsp_a_SOURCES += ../../shared/sbrk.c
89libbsp_a_SOURCES += ../../shared/src/stackalloc.c
90
91# Startup
92libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
93libbsp_a_SOURCES += startup/bspstart.c
94libbsp_a_SOURCES += startup/bspstarthook.c
95libbsp_a_SOURCES += startup/bspreset.c
96libbsp_a_SOURCES += startup/io.c
97libbsp_a_SOURCES += startup/rcc.c
98libbsp_a_SOURCES += startup/start-config-io.c
99
100# IRQ
101libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
102libbsp_a_SOURCES += ../../shared/src/irq-generic.c
103libbsp_a_SOURCES += ../../shared/src/irq-info.c
104libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
105libbsp_a_SOURCES += ../../shared/src/irq-server.c
106libbsp_a_SOURCES += ../../shared/src/irq-shell.c
107libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
108libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
109
110# Console
111libbsp_a_SOURCES += ../../shared/console.c
112libbsp_a_SOURCES += ../../shared/console_control.c
113libbsp_a_SOURCES += ../../shared/console_read.c
114libbsp_a_SOURCES += ../../shared/console_select.c
115libbsp_a_SOURCES += ../../shared/console_write.c
116libbsp_a_SOURCES += console/console-config.c
117libbsp_a_SOURCES += console/usart.c
118
119# I2C
120libbsp_a_SOURCES += i2c/i2c.c
121libbsp_a_SOURCES += i2c/i2c-config.c
122
123# Clock
124libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
125libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
126
127# Timer
128libbsp_a_SOURCES += ../../shared/timerstub.c
129
130# Cache
131libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
132libbsp_a_SOURCES += ../../../libcpu/arm/shared/cache/cache_.h
133libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
134
135###############################################################################
136#                  Special Rules                                              #
137###############################################################################
138
139DISTCLEANFILES = include/bspopts.h
140
141include $(srcdir)/preinstall.am
142include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.