Revision bf15b7d9

View differences:

modules/DiWheelDrive_1-1/Makefile
126 126
# HAL-OSAL files
127 127
include $(CHIBIOS)/os/hal/hal.mk
128 128
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk
129
include ./board.mk
130 129
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
131 130
# RTOS files
132 131
include $(CHIBIOS)/os/rt/rt.mk
......
145 144
include $(AMIROOS)/unittests/unittests.mk
146 145

  
147 146
# Define linker script file here
148
LDSCRIPT= $(BOARDLD)/STM32F103xE.ld
147
LDSCRIPT= STM32F103xE.ld
149 148

  
150 149
# C sources that can be compiled in ARM or THUMB mode depending on the global
151 150
# setting.
......
156 155
       $(OSALSRC) \
157 156
       $(HALSRC) \
158 157
       $(PLATFORMSRC) \
159
       $(BOARDSRC) \
160 158
       $(MODULESCSRC) \
161 159
       $(TESTSRC) \
162 160
       $(PERIPHERYLLDCSRC) \
......
165 163
       $(CHIBIOS)/os/various/evtimer.c \
166 164
       $(CHIBIOS)/os/various/syscalls.c \
167 165
       $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
166
       board.c \
168 167
       module.c \
169 168
       $(APPSCSRC)
170 169

  
......
208 207
         $(OSALINC) \
209 208
         $(HALINC) \
210 209
         $(PLATFORMINC) \
211
         $(BOARDINC) \
212 210
         $(MODULESINC) \
213 211
         $(TESTINC) \
214 212
         $(BOOTLOADERINC) \
modules/DiWheelDrive_1-1/board.mk
1
################################################################################
2
# AMiRo-OS is an operating system designed for the Autonomous Mini Robot       #
3
# (AMiRo) platform.                                                            #
4
# Copyright (C) 2016..2019  Thomas Schöpping et al.                            #
5
#                                                                              #
6
# This program is free software: you can redistribute it and/or modify         #
7
# it under the terms of the GNU General Public License as published by         #
8
# the Free Software Foundation, either version 3 of the License, or            #
9
# (at your option) any later version.                                          #
10
#                                                                              #
11
# This program is distributed in the hope that it will be useful,              #
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                #
14
# GNU General Public License for more details.                                 #
15
#                                                                              #
16
# You should have received a copy of the GNU General Public License            #
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.        #
18
#                                                                              #
19
# This research/work was supported by the Cluster of Excellence Cognitive      #
20
# Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is   #
21
# funded by the German Research Foundation (DFG).                              #
22
################################################################################
23

  
24

  
25

  
26
# absolute path to this directory
27
BOARD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
28

  
29
# include paths
30
BOARDINC = $(BOARD_DIR)
31

  
32
# C source files
33
BOARDSRC = $(BOARD_DIR)board.c
34

  
35
# linker path
36
BOARDLD = $(BOARD_DIR)
modules/LightRing_1-0/Makefile
126 126
# HAL-OSAL files
127 127
include $(CHIBIOS)/os/hal/hal.mk
128 128
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk
129
include ./board.mk
130 129
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
131 130
# RTOS files
132 131
include $(CHIBIOS)/os/rt/rt.mk
......
145 144
include $(AMIROOS)/unittests/unittests.mk
146 145

  
147 146
# Define linker script file here
148
LDSCRIPT= $(BOARDLD)/STM32F103xE.ld
147
LDSCRIPT= STM32F103xE.ld
149 148

  
150 149
# C sources that can be compiled in ARM or THUMB mode depending on the global
151 150
# setting.
......
156 155
       $(OSALSRC) \
157 156
       $(HALSRC) \
158 157
       $(PLATFORMSRC) \
159
       $(BOARDSRC) \
160 158
       $(MODULESCSRC) \
161 159
       $(TESTSRC) \
162 160
       $(PERIPHERYLLDCSRC) \
......
165 163
       $(CHIBIOS)/os/various/evtimer.c \
166 164
       $(CHIBIOS)/os/various/syscalls.c \
167 165
       $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
166
       board.c \
168 167
       module.c \
169 168
       $(APPSCSRC)
170 169

  
......
208 207
         $(OSALINC) \
209 208
         $(HALINC) \
210 209
         $(PLATFORMINC) \
211
         $(BOARDINC) \
212 210
         $(MODULESINC) \
213 211
         $(TESTINC) \
214 212
         $(BOOTLOADERINC) \
modules/LightRing_1-0/board.mk
1
################################################################################
2
# AMiRo-OS is an operating system designed for the Autonomous Mini Robot       #
3
# (AMiRo) platform.                                                            #
4
# Copyright (C) 2016..2019  Thomas Schöpping et al.                            #
5
#                                                                              #
6
# This program is free software: you can redistribute it and/or modify         #
7
# it under the terms of the GNU General Public License as published by         #
8
# the Free Software Foundation, either version 3 of the License, or            #
9
# (at your option) any later version.                                          #
10
#                                                                              #
11
# This program is distributed in the hope that it will be useful,              #
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                #
14
# GNU General Public License for more details.                                 #
15
#                                                                              #
16
# You should have received a copy of the GNU General Public License            #
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.        #
18
#                                                                              #
19
# This research/work was supported by the Cluster of Excellence Cognitive      #
20
# Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is   #
21
# funded by the German Research Foundation (DFG).                              #
22
################################################################################
23

  
24

  
25

  
26
# absolute path to this directory
27
BOARD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
28

  
29
# include paths
30
BOARDINC = $(BOARD_DIR)
31

  
32
# C source files
33
BOARDSRC = $(BOARD_DIR)board.c
34

  
35
# linker path
36
BOARDLD = $(BOARD_DIR)
modules/PowerManagement_1-1/Makefile
126 126
# HAL-OSAL files
127 127
include $(CHIBIOS)/os/hal/hal.mk
128 128
include $(CHIBIOS)/os/hal/ports/STM32/STM32F4xx/platform.mk
129
include ./board.mk
130 129
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
131 130
# RTOS files
132 131
include $(CHIBIOS)/os/rt/rt.mk
......
145 144
include $(AMIROOS)/unittests/unittests.mk
146 145

  
147 146
# Define linker script file here
148
LDSCRIPT= $(BOARDLD)/STM32F405xG.ld
147
LDSCRIPT= STM32F405xG.ld
149 148

  
150 149
# C sources that can be compiled in ARM or THUMB mode depending on the global
151 150
# setting.
......
156 155
       $(OSALSRC) \
157 156
       $(HALSRC) \
158 157
       $(PLATFORMSRC) \
159
       $(BOARDSRC) \
160 158
       $(MODULESCSRC) \
161 159
       $(TESTSRC) \
162 160
       $(PERIPHERYLLDCSRC) \
......
165 163
       $(CHIBIOS)/os/various/evtimer.c \
166 164
       $(CHIBIOS)/os/various/syscalls.c \
167 165
       $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
166
       board.c \
168 167
       module.c \
169 168
       $(APPSCSRC)
170 169

  
......
208 207
         $(OSALINC) \
209 208
         $(HALINC) \
210 209
         $(PLATFORMINC) \
211
         $(BOARDINC) \
212 210
         $(MODULESINC) \
213 211
         $(TESTINC) \
214 212
         $(BOOTLOADERINC) \
modules/PowerManagement_1-1/board.mk
1
################################################################################
2
# AMiRo-OS is an operating system designed for the Autonomous Mini Robot       #
3
# (AMiRo) platform.                                                            #
4
# Copyright (C) 2016..2019  Thomas Schöpping et al.                            #
5
#                                                                              #
6
# This program is free software: you can redistribute it and/or modify         #
7
# it under the terms of the GNU General Public License as published by         #
8
# the Free Software Foundation, either version 3 of the License, or            #
9
# (at your option) any later version.                                          #
10
#                                                                              #
11
# This program is distributed in the hope that it will be useful,              #
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                #
14
# GNU General Public License for more details.                                 #
15
#                                                                              #
16
# You should have received a copy of the GNU General Public License            #
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.        #
18
#                                                                              #
19
# This research/work was supported by the Cluster of Excellence Cognitive      #
20
# Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is   #
21
# funded by the German Research Foundation (DFG).                              #
22
################################################################################
23

  
24

  
25

  
26
# absolute path to this directory
27
BOARD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
28

  
29
# include paths
30
BOARDINC = $(BOARD_DIR)
31

  
32
# C source files
33
BOARDSRC = $(BOARD_DIR)board.c
34

  
35
# linker path
36
BOARDLD = $(BOARD_DIR)
modules/STM32F4Discovery/Makefile
126 126
# HAL-OSAL files
127 127
include $(CHIBIOS)/os/hal/hal.mk
128 128
include $(CHIBIOS)/os/hal/ports/STM32/STM32F4xx/platform.mk
129
include ./board.mk
130 129
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
131 130
# RTOS files
132 131
include $(CHIBIOS)/os/rt/rt.mk
......
145 144
include $(AMIROOS)/unittests/unittests.mk
146 145

  
147 146
# Define linker script file here
148
LDSCRIPT= $(BOARDLD)/STM32F407xG.ld
147
LDSCRIPT= STM32F407xG.ld
149 148

  
150 149
# C sources that can be compiled in ARM or THUMB mode depending on the global
151 150
# setting.
......
156 155
       $(OSALSRC) \
157 156
       $(HALSRC) \
158 157
       $(PLATFORMSRC) \
159
       $(BOARDSRC) \
160 158
       $(MODULESCSRC) \
161 159
       $(TESTSRC) \
162 160
       $(PERIPHERYLLDCSRC) \
......
165 163
       $(CHIBIOS)/os/various/evtimer.c \
166 164
       $(CHIBIOS)/os/various/syscalls.c \
167 165
       $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
166
       board.c \
168 167
       module.c \
169 168
       $(APPSCSRC)
170 169

  
......
208 207
         $(OSALINC) \
209 208
         $(HALINC) \
210 209
         $(PLATFORMINC) \
211
         $(BOARDINC) \
212 210
         $(MODULESINC) \
213 211
         $(TESTINC) \
214 212
         $(BOOTLOADERINC) \
modules/STM32F4Discovery/board.mk
1
################################################################################
2
# AMiRo-OS is an operating system designed for the Autonomous Mini Robot       #
3
# (AMiRo) platform.                                                            #
4
# Copyright (C) 2016..2019  Thomas Schöpping et al.                            #
5
#                                                                              #
6
# This program is free software: you can redistribute it and/or modify         #
7
# it under the terms of the GNU General Public License as published by         #
8
# the Free Software Foundation, either version 3 of the License, or            #
9
# (at your option) any later version.                                          #
10
#                                                                              #
11
# This program is distributed in the hope that it will be useful,              #
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                #
14
# GNU General Public License for more details.                                 #
15
#                                                                              #
16
# You should have received a copy of the GNU General Public License            #
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.        #
18
#                                                                              #
19
# This research/work was supported by the Cluster of Excellence Cognitive      #
20
# Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is   #
21
# funded by the German Research Foundation (DFG).                              #
22
################################################################################
23

  
24

  
25

  
26
# absolute path to this directory
27
BOARD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
28

  
29
# include paths
30
BOARDINC = $(BOARD_DIR)
31

  
32
# C source files
33
BOARDSRC = $(BOARD_DIR)board.c
34

  
35
# linker path
36
BOARDLD = $(BOARD_DIR)

Also available in: Unified diff