amiro-blt / Target / Makefile @ 316a2b34
History | View | Annotate | Download (2.485 KB)
1 |
################################################################################ |
---|---|
2 |
# AMiRo-BLT is the bootloader and flashing toolchain for the base version of # |
3 |
# the Autonomous Mini Robot (AMiRo). It is based on OpenBLT developed by # |
4 |
# Feaser (see <http://feaser.com/en/openblt.php>). # |
5 |
# Copyright (C) 2016..2017 Thomas Schöpping et al. # |
6 |
# # |
7 |
# This program is free software: you can redistribute it and/or modify # |
8 |
# it under the terms of the GNU General Public License as published by # |
9 |
# the Free Software Foundation, either version 3 of the License, or # |
10 |
# (at your option) any later version. # |
11 |
# # |
12 |
# This program is distributed in the hope that it will be useful, # |
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of # |
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
15 |
# GNU General Public License for more details. # |
16 |
# # |
17 |
# You should have received a copy of the GNU General Public License # |
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. # |
19 |
# # |
20 |
# This research/work was supported by the Cluster of Excellence Cognitive # |
21 |
# Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is # |
22 |
# funded by the German Research Foundation (DFG). # |
23 |
################################################################################ |
24 |
|
25 |
|
26 |
|
27 |
ROOT_PATH = .. |
28 |
DWD_PATH = $(ROOT_PATH)/Target/Demo/ARMCM3_STM32F103_DiWheelDrive_GCC/Boot |
29 |
PM_PATH = $(ROOT_PATH)/Target/Demo/ARMCM4_STM32F405_Power_Management_GCC/Boot |
30 |
LR_PATH = $(ROOT_PATH)/Target/Demo/ARMCM3_STM32F103_LightRing_GCC/Boot |
31 |
|
32 |
all: |
33 |
$(MAKE) -C $(DWD_PATH) |
34 |
$(MAKE) -C $(PM_PATH) |
35 |
$(MAKE) -C $(LR_PATH) |
36 |
|
37 |
clean: |
38 |
$(MAKE) -C $(DWD_PATH) clean |
39 |
$(MAKE) -C $(PM_PATH) clean |
40 |
$(MAKE) -C $(LR_PATH) clean |
41 |
|
42 |
DiWheelDrive: |
43 |
$(MAKE) -C $(DWD_PATH) |
44 |
|
45 |
PowerManagement: |
46 |
$(MAKE) -C $(PM_PATH) |
47 |
|
48 |
LightRing: |
49 |
$(MAKE) -C $(LR_PATH) |
50 |
|
51 |
flash_DiWheelDrive: |
52 |
$(MAKE) -C $(DWD_PATH) flash |
53 |
|
54 |
flash_PowerManagement: |
55 |
$(MAKE) -C $(PM_PATH) flash |
56 |
|
57 |
flash_LightRing: |
58 |
$(MAKE) -C $(LR_PATH) flash |
59 |
|