[e230fb4] | 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 |
---|
[1485a58] | 22 | EXTRA_DIST += startup/linkcmds.stm32f105rc |
---|
[e230fb4] | 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/include/start.h |
---|
| 45 | include_bsp_HEADERS += ../shared/armv7m/include/armv7m-irq.h |
---|
| 46 | include_bsp_HEADERS += include/irq.h |
---|
| 47 | include_bsp_HEADERS += include/usart.h |
---|
| 48 | include_bsp_HEADERS += include/stm32f4.h |
---|
[1485a58] | 49 | include_bsp_HEADERS += include/stm32f10xxx_gpio.h |
---|
| 50 | include_bsp_HEADERS += include/stm32f10xxx_rcc.h |
---|
[c6f0efe2] | 51 | include_bsp_HEADERS += include/stm32f10xxx_exti.h |
---|
[1485a58] | 52 | include_bsp_HEADERS += include/stm32f4xxxx_gpio.h |
---|
| 53 | include_bsp_HEADERS += include/stm32f4xxxx_rcc.h |
---|
[7db6953] | 54 | include_bsp_HEADERS += include/stm32f4xxxx_flash.h |
---|
[c918737e] | 55 | include_bsp_HEADERS += include/stm32_i2c.h |
---|
| 56 | include_bsp_HEADERS += include/i2c.h |
---|
[1485a58] | 57 | include_bsp_HEADERS += include/stm32_usart.h |
---|
[228ece9] | 58 | include_bsp_HEADERS += include/io.h |
---|
| 59 | include_bsp_HEADERS += include/rcc.h |
---|
[e230fb4] | 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 |
---|
[24bf11e] | 79 | libbsp_a_SOURCES += ../../shared/cpucounterread.c |
---|
| 80 | libbsp_a_SOURCES += ../../shared/cpucounterdiff.c |
---|
[e230fb4] | 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 |
---|
[228ece9] | 90 | libbsp_a_SOURCES += startup/io.c |
---|
| 91 | libbsp_a_SOURCES += startup/rcc.c |
---|
[7be19f8] | 92 | libbsp_a_SOURCES += startup/start-config-io.c |
---|
[e230fb4] | 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 | |
---|
[c918737e] | 113 | # I2C |
---|
| 114 | libbsp_a_SOURCES += i2c/i2c.c |
---|
| 115 | libbsp_a_SOURCES += i2c/i2c-config.c |
---|
| 116 | |
---|
[e230fb4] | 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 |
---|