Revision c7cd988c
core/core.mk | ||
---|---|---|
30 | 30 |
AMIROOS_CORE_INC = $(AMIROOS_CORE_DIR)inc |
31 | 31 |
|
32 | 32 |
# C source files |
33 |
AMIROOS_CORE_CSRC = $(wildcard $(AMIROOS_CORE_DIR)src/*.[Cc]) |
|
33 |
AMIROOS_CORE_CSRC = $(AMIROOS_CORE_DIR)src/aos_iostream.c \ |
|
34 |
$(AMIROOS_CORE_DIR)src/aos_shell.c \ |
|
35 |
$(AMIROOS_CORE_DIR)src/aos_sssp.c \ |
|
36 |
$(AMIROOS_CORE_DIR)src/aos_system.c \ |
|
37 |
$(AMIROOS_CORE_DIR)src/aos_test.c \ |
|
38 |
$(AMIROOS_CORE_DIR)src/aos_thread.c \ |
|
39 |
$(AMIROOS_CORE_DIR)src/aos_time.c \ |
|
40 |
$(AMIROOS_CORE_DIR)src/aos_timer.c |
|
34 | 41 |
|
35 | 42 |
# C++ source files |
36 |
AMIROOS_CORE_CPPSRC = $(wildcard $(AMIROOS_CORE_DIR)src/*.[Cc]?*)
|
|
43 |
AMIROOS_CORE_CPPSRC = $(AMIROOS_CORE_DIR)src/aos_main.cpp
|
|
37 | 44 |
|
kernel/kernel.mk | ||
---|---|---|
54 | 54 |
include $(CHIBIOS)/test/oslib/oslib_test.mk |
55 | 55 |
|
56 | 56 |
# include paths |
57 |
AMIROOS_KERNEL_INC = $(ALLINC) \ |
|
57 |
AMIROOS_KERNEL_INC = $(ALLINC) \
|
|
58 | 58 |
$(TESTINC) \ |
59 | 59 |
$(CHIBIOS)/os/hal/lib/streams |
60 | 60 |
|
modules/DiWheelDrive_1-1/Makefile | ||
---|---|---|
140 | 140 |
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk |
141 | 141 |
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk |
142 | 142 |
|
143 |
# Periphery LLDs.
|
|
143 |
# Module specific periphery LLDs.
|
|
144 | 144 |
include $(AMIROLLD)/drivers/A3906/v1/alld_A3906.mk |
145 | 145 |
include $(AMIROLLD)/drivers/AT24C01B/v1/alld_AT24C01B.mk |
146 | 146 |
include $(AMIROLLD)/drivers/HMC5883L/v1/alld_HMC5883L.mk |
... | ... | |
153 | 153 |
include $(AMIROLLD)/drivers/TPS6211x/v1/alld_TPS6211x.mk |
154 | 154 |
include $(AMIROLLD)/drivers/VCNL4020/v1/alld_VCNL4020.mk |
155 | 155 |
|
156 |
# Tests. |
|
157 |
include $(AMIROOS_TEST_DIR)periphery-lld/A3906_v1/aos_test_A3906.mk |
|
158 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
159 |
include $(AMIROOS_TEST_DIR)periphery-lld/HMC5883L_v1/aos_test_HMC5883L.mk |
|
160 |
include $(AMIROOS_TEST_DIR)periphery-lld/INA219_v1/aos_test_INA219.mk |
|
161 |
include $(AMIROOS_TEST_DIR)periphery-lld/L3G4200D_v1/aos_test_L3G4200D.mk |
|
162 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
163 |
include $(AMIROOS_TEST_DIR)periphery-lld/LIS331DLH_v1/aos_test_LIS331DLH.mk |
|
164 |
include $(AMIROOS_TEST_DIR)periphery-lld/LTC4412_v1/aos_test_LTC4412.mk |
|
165 |
include $(AMIROOS_TEST_DIR)periphery-lld/PCA9544A_v1/aos_test_PCA9544A.mk |
|
166 |
include $(AMIROOS_TEST_DIR)periphery-lld/TPS6211x_v1/aos_test_TPS6211x.mk |
|
167 |
include $(AMIROOS_TEST_DIR)periphery-lld/VCNL4020_v1/aos_test_VCNL4020.mk |
|
168 |
|
|
169 | 156 |
# Module specific inclusion directories |
170 |
MODULE_INC = $(MODULE_DIR) \ |
|
171 |
$(wildcard $(MODULE_DIR)/test/*) |
|
157 |
MODULE_INC = $(MODULE_DIR) |
|
172 | 158 |
|
173 | 159 |
# Module specific C source files. |
174 |
MODULE_CSRC = $(wildcard $(MODULE_INC:%=%/*.[Cc])) |
|
160 |
MODULE_CSRC = $(MODULE_DIR)/board.c \ |
|
161 |
$(MODULE_DIR)/module.c |
|
162 |
|
|
163 |
# Module specific tests. |
|
164 |
include $(MODULE_DIR)/test/A3906/module_test_A3906.mk |
|
165 |
include $(MODULE_DIR)/test/AT24C01B/module_test_AT24C01B.mk |
|
166 |
include $(MODULE_DIR)/test/HMC5883L/module_test_HMC5883L.mk |
|
167 |
include $(MODULE_DIR)/test/INA219/module_test_INA219.mk |
|
168 |
include $(MODULE_DIR)/test/L3G4200D/module_test_L3G4200D.mk |
|
169 |
include $(MODULE_DIR)/test/LED/module_test_LED.mk |
|
170 |
include $(MODULE_DIR)/test/LIS331DLH/module_test_LIS331DLH.mk |
|
171 |
include $(MODULE_DIR)/test/LTC4412/module_test_LTC4412.mk |
|
172 |
include $(MODULE_DIR)/test/PCA9544A/module_test_PCA9544A.mk |
|
173 |
include $(MODULE_DIR)/test/TPS6211x/module_test_TPS6211x.mk |
|
174 |
include $(MODULE_DIR)/test/VCNL4020/module_test_VCNL4020.mk |
|
175 | 175 |
|
176 | 176 |
# C warning options. |
177 | 177 |
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes |
modules/DiWheelDrive_1-1/test/A3906/module_test_A3906.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 |
# path to this directory |
|
27 |
MODULE_TEST_A3906_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/A3906_v1/aos_test_A3906.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_A3906_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_A3906_DIR)module_test_A3906.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/AT24C01B/module_test_AT24C01B.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 |
# path to this directory |
|
27 |
MODULE_TEST_AT24C01B_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_AT24C01B_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_AT24C01B_DIR)module_test_AT24C01B.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/HMC5883L/module_test_HMC5883L.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 |
# path to this directory |
|
27 |
MODULE_TEST_HMC5883L_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/HMC5883L_v1/aos_test_HMC5883L.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_HMC5883L_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_HMC5883L_DIR)module_test_HMC5883L.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/INA219/module_test_INA219.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 |
# path to this directory |
|
27 |
MODULE_TEST_INA219_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/INA219_v1/aos_test_INA219.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_INA219_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_INA219_DIR)module_test_INA219.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/L3G4200D/module_test_L3G4200D.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 |
# path to this directory |
|
27 |
MODULE_TEST_L3G4200D_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/L3G4200D_v1/aos_test_L3G4200D.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_L3G4200D_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_L3G4200D_DIR)module_test_L3G4200D.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/LED/module_test_LED.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 |
# path to this directory |
|
27 |
MODULE_TEST_LED_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_LED_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_LED_DIR)module_test_LED.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/LIS331DLH/module_test_LIS331DLH.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 |
# path to this directory |
|
27 |
MODULE_TEST_LIS331DLH_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/LIS331DLH_v1/aos_test_LIS331DLH.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_LIS331DLH_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_LIS331DLH_DIR)module_test_LIS331DLH.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/LTC4412/module_test_LTC4412.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 |
# path to this directory |
|
27 |
MODULE_TEST_LTC4412_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/LTC4412_v1/aos_test_LTC4412.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_LTC4412_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_LTC4412_DIR)module_test_LTC4412.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/PCA9544A/module_test_PCA9544A.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 |
# path to this directory |
|
27 |
MODULE_TEST_PCA9544A_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/PCA9544A_v1/aos_test_PCA9544A.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_PCA9544A_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_PCA9544A_DIR)module_test_PCA9544A.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/TPS6211x/module_test_TPS6211x.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 |
# path to this directory |
|
27 |
MODULE_TEST_TPS6211x_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/TPS6211x_v1/aos_test_TPS6211x.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_TPS6211x_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_TPS6211x_DIR)module_test_TPS6211x.c |
|
36 |
|
modules/DiWheelDrive_1-1/test/VCNL4020/module_test_VCNL4020.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 |
# path to this directory |
|
27 |
MODULE_TEST_VCNL4020_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/VCNL4020_v1/aos_test_VCNL4020.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_VCNL4020_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_VCNL4020_DIR)module_test_VCNL4020.c |
|
36 |
|
modules/DiWheelDrive_1-2/Makefile | ||
---|---|---|
140 | 140 |
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk |
141 | 141 |
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk |
142 | 142 |
|
143 |
# Periphery LLDs.
|
|
143 |
# Module specific periphery LLDs.
|
|
144 | 144 |
include $(AMIROLLD)/drivers/A3906/v1/alld_A3906.mk |
145 | 145 |
include $(AMIROLLD)/drivers/AT24C01B/v1/alld_AT24C01B.mk |
146 | 146 |
#include $(AMIROLLD)/drivers/BNO055/v1/alld_BNO055.mk |
... | ... | |
151 | 151 |
include $(AMIROLLD)/drivers/TPS6211x/v1/alld_TPS6211x.mk |
152 | 152 |
include $(AMIROLLD)/drivers/VCNL4020/v1/alld_VCNL4020.mk |
153 | 153 |
|
154 |
# Tests. |
|
155 |
include $(AMIROOS_TEST_DIR)periphery-lld/A3906_v1/aos_test_A3906.mk |
|
156 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
157 |
include $(AMIROOS_TEST_DIR)periphery-lld/INA219_v1/aos_test_INA219.mk |
|
158 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
159 |
include $(AMIROOS_TEST_DIR)periphery-lld/LTC4412_v1/aos_test_LTC4412.mk |
|
160 |
include $(AMIROOS_TEST_DIR)periphery-lld/PCA9544A_v1/aos_test_PCA9544A.mk |
|
161 |
include $(AMIROOS_TEST_DIR)periphery-lld/TPS6211x_v1/aos_test_TPS6211x.mk |
|
162 |
include $(AMIROOS_TEST_DIR)periphery-lld/VCNL4020_v1/aos_test_VCNL4020.mk |
|
163 |
|
|
164 | 154 |
# Module specific inclusion directories |
165 |
MODULE_INC = $(MODULE_DIR) \ |
|
166 |
$(wildcard $(MODULE_DIR)/test/*) |
|
155 |
MODULE_INC = $(MODULE_DIR) |
|
167 | 156 |
|
168 | 157 |
# Module specific C source files. |
169 |
MODULE_CSRC = $(wildcard $(MODULE_INC:%=%/*.[Cc])) |
|
158 |
MODULE_CSRC = $(MODULE_DIR)/board.c \ |
|
159 |
$(MODULE_DIR)/module.c |
|
160 |
|
|
161 |
# Module specific tests. |
|
162 |
include $(MODULE_DIR)/test/A3906/module_test_A3906.mk |
|
163 |
include $(MODULE_DIR)/test/AT24C01B/module_test_AT24C01B.mk |
|
164 |
#include $(MODULE_DIR)/test/BNO055/module_test_BNO055.mk |
|
165 |
include $(MODULE_DIR)/test/INA219/module_test_INA219.mk |
|
166 |
include $(MODULE_DIR)/test/LED/module_test_LED.mk |
|
167 |
include $(MODULE_DIR)/test/LTC4412/module_test_LTC4412.mk |
|
168 |
include $(MODULE_DIR)/test/PCA9544A/module_test_PCA9544A.mk |
|
169 |
include $(MODULE_DIR)/test/TPS6211x/module_test_TPS6211x.mk |
|
170 |
include $(MODULE_DIR)/test/VCNL4020/module_test_VCNL4020.mk |
|
170 | 171 |
|
171 | 172 |
# C warning options. |
172 | 173 |
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes |
modules/DiWheelDrive_1-2/test/A3906/module_test_A3906.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 |
# path to this directory |
|
27 |
MODULE_TEST_A3906_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/A3906_v1/aos_test_A3906.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_A3906_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_A3906_DIR)module_test_A3906.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/AT24C01B/module_test_AT24C01B.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 |
# path to this directory |
|
27 |
MODULE_TEST_AT24C01B_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_AT24C01B_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_AT24C01B_DIR)module_test_AT24C01B.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/INA219/module_test_INA219.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 |
# path to this directory |
|
27 |
MODULE_TEST_INA219_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/INA219_v1/aos_test_INA219.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_INA219_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_INA219_DIR)module_test_INA219.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/LED/module_test_LED.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 |
# path to this directory |
|
27 |
MODULE_TEST_LED_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_LED_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_LED_DIR)module_test_LED.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/LTC4412/module_test_LTC4412.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 |
# path to this directory |
|
27 |
MODULE_TEST_LTC4412_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/LTC4412_v1/aos_test_LTC4412.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_LTC4412_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_LTC4412_DIR)module_test_LTC4412.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/PCA9544A/module_test_PCA9544A.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 |
# path to this directory |
|
27 |
MODULE_TEST_PCA9544A_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/PCA9544A_v1/aos_test_PCA9544A.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_PCA9544A_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_PCA9544A_DIR)module_test_PCA9544A.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/TPS6211x/module_test_TPS6211x.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 |
# path to this directory |
|
27 |
MODULE_TEST_TPS6211x_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/TPS6211x_v1/aos_test_TPS6211x.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_TPS6211x_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_TPS6211x_DIR)module_test_TPS6211x.c |
|
36 |
|
modules/DiWheelDrive_1-2/test/VCNL4020/module_test_VCNL4020.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 |
# path to this directory |
|
27 |
MODULE_TEST_VCNL4020_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/VCNL4020_v1/aos_test_VCNL4020.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_VCNL4020_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_VCNL4020_DIR)module_test_VCNL4020.c |
|
36 |
|
modules/LightRing_1-0/Makefile | ||
---|---|---|
140 | 140 |
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk |
141 | 141 |
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk |
142 | 142 |
|
143 |
# Periphery LLDs.
|
|
143 |
# Module specific periphery LLDs.
|
|
144 | 144 |
include $(AMIROLLD)/drivers/AT24C01B/v1/alld_AT24C01B.mk |
145 | 145 |
include $(AMIROLLD)/drivers/TLC5947/v1/alld_TLC5947.mk |
146 | 146 |
include $(AMIROLLD)/drivers/TPS20xxB/v1/alld_TPS20xxB.mk |
147 | 147 |
|
148 |
# Tests. |
|
149 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
150 |
include $(AMIROOS_TEST_DIR)periphery-lld/TLC5947_v1/aos_test_TLC5947.mk |
|
151 |
include $(AMIROOS_TEST_DIR)periphery-lld/TPS20xxB_v1/aos_test_TPS20xxB.mk |
|
152 |
|
|
153 | 148 |
# Module specific inclusion directories |
154 |
MODULE_INC = $(MODULE_DIR) \ |
|
155 |
$(wildcard $(MODULE_DIR)/test/*) |
|
149 |
MODULE_INC = $(MODULE_DIR) |
|
156 | 150 |
|
157 | 151 |
# Module specific C source files. |
158 |
MODULE_CSRC = $(wildcard $(MODULE_INC:%=%/*.[Cc])) |
|
152 |
MODULE_CSRC = $(MODULE_DIR)/board.c \ |
|
153 |
$(MODULE_DIR)/module.c |
|
154 |
|
|
155 |
# Module specific tests. |
|
156 |
include $(MODULE_DIR)/test/AT24C01B/module_test_AT24C01B.mk |
|
157 |
include $(MODULE_DIR)/test/TLC5947/module_test_TLC5947.mk |
|
158 |
include $(MODULE_DIR)/test/TPS20xxB/module_test_TPS20xxB.mk |
|
159 | 159 |
|
160 | 160 |
# C warning options. |
161 | 161 |
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes |
modules/LightRing_1-0/test/AT24C01B/module_test_AT24C01B.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 |
# path to this directory |
|
27 |
MODULE_TEST_AT24C01B_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_AT24C01B_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_AT24C01B_DIR)module_test_AT24C01B.c |
|
36 |
|
modules/LightRing_1-0/test/TLC5947/module_test_TLC5947.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 |
# path to this directory |
|
27 |
MODULE_TEST_TLC5947_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/TLC5947_v1/aos_test_TLC5947.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_TLC5947_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_TLC5947_DIR)module_test_TLC5947.c |
|
36 |
|
modules/LightRing_1-0/test/TPS20xxB/module_test_TPS20xxB.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 |
# path to this directory |
|
27 |
MODULE_TEST_TPS20xxB_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/TPS20xxB_v1/aos_test_TPS20xxB.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_TPS20xxB_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_TPS20xxB_DIR)module_test_TPS20xxB.c |
|
36 |
|
modules/LightRing_1-2/Makefile | ||
---|---|---|
140 | 140 |
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk |
141 | 141 |
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk |
142 | 142 |
|
143 |
# Periphery LLDs. |
|
143 |
# Module specific configuration |
|
144 |
## select one (or none) of the following |
|
145 |
#BOARD_BREAKOUT_MODULE := BOARD_BREAKOUT_NONE |
|
146 |
#BOARD_BREAKOUT_MODULE := BOARD_BREAKOUT_UWBv10 |
|
147 |
|
|
148 |
# Module specific periphery LLDs. |
|
144 | 149 |
include $(AMIROLLD)/drivers/AT24C01B/v1/alld_AT24C01B.mk |
145 | 150 |
include $(AMIROLLD)/drivers/INA219/v1/alld_INA219.mk |
146 | 151 |
include $(AMIROLLD)/drivers/LED/v1/alld_LED.mk |
147 | 152 |
include $(AMIROLLD)/drivers/MIC9404x/v1/alld_MIC9404x.mk |
148 | 153 |
include $(AMIROLLD)/drivers/TLC5947/v1/alld_TLC5947.mk |
149 |
include $(AMIROLLD)/drivers/DW1000/v2/alld_DW1000.mk |
|
150 |
|
|
151 |
# Tests. |
|
152 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
153 |
include $(AMIROOS_TEST_DIR)periphery-lld/INA219_v1/aos_test_INA219.mk |
|
154 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
155 |
include $(AMIROOS_TEST_DIR)periphery-lld/MIC9404x_v1/aos_test_MIC9404x.mk |
|
156 |
include $(AMIROOS_TEST_DIR)periphery-lld/TLC5947_v1/aos_test_TLC5947.mk |
|
157 |
include $(AMIROOS_TEST_DIR)periphery-lld/DW1000_v2/aos_test_DW1000.mk |
|
154 |
ifeq ($(BOARD_BREAKOUT_MODULE), BOARD_BREAKOUT_UWBv10) |
|
155 |
include $(AMIROLLD)/drivers/DW1000/v2/alld_DW1000.mk |
|
156 |
else ifeq ($(BOARD_BREAKOUT_MODULE),) |
|
157 |
include $(AMIROLLD)/drivers/DW1000/v2/alld_DW1000.mk |
|
158 |
endif |
|
158 | 159 |
|
159 | 160 |
# Module specific inclusion directories |
160 |
MODULE_INC = $(MODULE_DIR) \ |
|
161 |
$(wildcard $(MODULE_DIR)/test/*) |
|
161 |
MODULE_INC = $(MODULE_DIR) |
|
162 | 162 |
|
163 | 163 |
# Module specific C source files. |
164 |
MODULE_CSRC = $(wildcard $(MODULE_INC:%=%/*.[Cc])) |
|
164 |
MODULE_CSRC = $(MODULE_DIR)/board.c \ |
|
165 |
$(MODULE_DIR)/module.c |
|
166 |
|
|
167 |
# Module specific tests. |
|
168 |
include $(MODULE_DIR)/test/AT24C01B/module_test_AT24C01B.mk |
|
169 |
include $(MODULE_DIR)/test/INA219/module_test_INA219.mk |
|
170 |
include $(MODULE_DIR)/test/LED/module_test_LED.mk |
|
171 |
include $(MODULE_DIR)/test/MIC9404x/module_test_MIC9404x.mk |
|
172 |
include $(MODULE_DIR)/test/TLC5947/module_test_TLC5947.mk |
|
173 |
ifeq ($(BOARD_BREAKOUT_MODULE), BOARD_BREAKOUT_UWBv10) |
|
174 |
include $(MODULE_DIR)/test/DW1000/module_test_DW1000.mk |
|
175 |
else ifeq ($(BOARD_BREAKOUT_MODULE),) |
|
176 |
include $(MODULE_DIR)/test/DW1000/module_test_DW1000.mk |
|
177 |
endif |
|
165 | 178 |
|
166 | 179 |
# C warning options. |
167 | 180 |
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes |
... | ... | |
181 | 194 |
# # |
182 | 195 |
|
183 | 196 |
# List all user C define here, like -D_DEBUG=1 |
197 |
ifneq ($(BOARD_SENSORRING),) |
|
198 |
UDEFS += -DBOARD_BREAKOUT_MODULE=$(BOARD_BREAKOUT_MODULE) |
|
199 |
endif |
|
184 | 200 |
UDEFS += |
185 | 201 |
|
186 | 202 |
# Define ASM defines here |
modules/LightRing_1-2/board.h | ||
---|---|---|
67 | 67 |
/* |
68 | 68 |
* Identifiers for the several breakout modules, which can be attached to the LightRing v1.2 module. |
69 | 69 |
*/ |
70 |
#define BOARD_BREAKOUT_NONE 0
|
|
70 |
#define BOARD_BREAKOUT_NONE -1
|
|
71 | 71 |
#define BOARD_BREAKOUT_UWBv10 1 |
72 | 72 |
|
73 | 73 |
/* |
74 | 74 |
* Configuration macro to define which breakout module is attached. |
75 | 75 |
*/ |
76 | 76 |
#if !defined(BOARD_BREAKOUT_MODULE) || defined(__DOXYGEN__) |
77 |
#define BOARD_BREAKOUT_MODULE BOARD_BREAKOUT_NONE |
|
77 |
#define BOARD_BREAKOUT_MODULE BOARD_BREAKOUT_NONE |
|
78 |
#elif ((BOARD_BREAKOUT_MODULE != BOARD_BREAKOUT_NONE) && \ |
|
79 |
(BOARD_BREAKOUT_MODULE != BOARD_BREAKOUT_UWBv10)) |
|
80 |
#error "BOARD_BREAKOUT_MODULE set to invalid value" |
|
78 | 81 |
#endif |
79 | 82 |
|
80 | 83 |
/* |
modules/LightRing_1-2/test/AT24C01B/module_test_AT24C01B.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 |
# path to this directory |
|
27 |
MODULE_TEST_AT24C01B_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/AT24C01B_v1/aos_test_AT24C01B.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_AT24C01B_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_AT24C01B_DIR)module_test_AT24C01B.c |
|
36 |
|
modules/LightRing_1-2/test/DW1000/module_test_DW1000.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 |
# path to this directory |
|
27 |
MODULE_TEST_DW1000_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/DW1000_v2/aos_test_DW1000.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_DW1000_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_DW1000_DIR)module_test_DW1000.c |
|
36 |
|
modules/LightRing_1-2/test/INA219/module_test_INA219.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 |
# path to this directory |
|
27 |
MODULE_TEST_INA219_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/INA219_v1/aos_test_INA219.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_INA219_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_INA219_DIR)module_test_INA219.c |
|
36 |
|
modules/LightRing_1-2/test/LED/module_test_LED.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 |
# path to this directory |
|
27 |
MODULE_TEST_LED_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_LED_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_LED_DIR)module_test_LED.c |
|
36 |
|
modules/LightRing_1-2/test/MIC9404x/module_test_MIC9404x.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 |
# path to this directory |
|
27 |
MODULE_TEST_MIC9404x_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/MIC9404x_v1/aos_test_MIC9404x.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_MIC9404x_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_MIC9404x_DIR)module_test_MIC9404x.c |
|
36 |
|
modules/LightRing_1-2/test/TLC5947/module_test_TLC5947.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 |
# path to this directory |
|
27 |
MODULE_TEST_TLC5947_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
28 |
|
|
29 |
include $(AMIROOS_TEST_DIR)periphery-lld/TLC5947_v1/aos_test_TLC5947.mk |
|
30 |
|
|
31 |
# include paths |
|
32 |
MODULE_INC += $(MODULE_TEST_TLC5947_DIR:/=) |
|
33 |
|
|
34 |
# C source files |
|
35 |
MODULE_CSRC += $(MODULE_TEST_TLC5947_DIR)module_test_TLC5947.c |
|
36 |
|
modules/NUCLEO-F103RB/Makefile | ||
---|---|---|
140 | 140 |
include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk |
141 | 141 |
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk |
142 | 142 |
|
143 |
# Periphery LLDs.
|
|
143 |
# Module specific periphery LLDs.
|
|
144 | 144 |
include $(AMIROLLD)/drivers/LED/v1/alld_LED.mk |
145 | 145 |
include $(AMIROLLD)/drivers/button/v1/alld_button.mk |
146 | 146 |
include $(AMIROLLD)/drivers/DW1000/v1/alld_DW1000.mk |
147 | 147 |
|
148 |
# Tests. |
|
149 |
include $(AMIROOS_TEST_DIR)periphery-lld/button_v1/aos_test_button.mk |
|
150 |
include $(AMIROOS_TEST_DIR)periphery-lld/LED_v1/aos_test_LED.mk |
|
151 |
include $(AMIROOS_TEST_DIR)periphery-lld/DW1000_v1/aos_test_DW1000.mk |
|
152 |
|
|
153 | 148 |
# Module specific inclusion directories |
154 |
MODULE_INC = $(MODULE_DIR) \ |
|
155 |
$(wildcard $(MODULE_DIR)/test/*) |
|
149 |
MODULE_INC = $(MODULE_DIR) |
|
156 | 150 |
|
157 | 151 |
# Module specific C source files. |
158 |
MODULE_CSRC = $(wildcard $(MODULE_INC:%=%/*.[Cc])) |
|
152 |
MODULE_CSRC = $(MODULE_DIR)/board.c \ |
|
153 |
$(MODULE_DIR)/module.c |
|
154 |
|
|
155 |
# Module specific tests. |
|
156 |
include $(MODULE_DIR)/test/button/module_test_button.mk |
|
157 |
include $(MODULE_DIR)/test/LED/module_test_LED.mk |
|
158 |
include $(MODULE_DIR)/test/DW1000/module_test_DW1000.mk |
|
159 | 159 |
|
160 | 160 |
# C warning options. |
161 | 161 |
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes |
modules/NUCLEO-F103RB/test/DW1000/module_test_DW1000.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 # |
Also available in: Unified diff