Revision c7cd988c modules/NUCLEO-L476RG/Makefile
modules/NUCLEO-L476RG/Makefile | ||
---|---|---|
140 | 140 |
include $(CHIBIOS)/os/hal/ports/STM32/STM32L4xx/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/MPU6050/v1/alld_MPU6050.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/MPU6050_v1/aos_test_MPU6050.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/MPU6050/module_test_MPU6050.mk |
|
159 | 159 |
|
160 | 160 |
# C warning options. |
161 | 161 |
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes |
Also available in: Unified diff