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