Revision efe86ca9 modules/PowerManagement_1-2/Makefile
modules/PowerManagement_1-2/Makefile | ||
---|---|---|
122 | 122 |
MCU := cortex-m4 |
123 | 123 |
|
124 | 124 |
# Module specific paths and directories. |
125 |
MODULEDIR := . |
|
126 |
CONFDIR := $(MODULEDIR) |
|
127 |
ifeq ($(BUILDDIR),) |
|
128 |
BUILDDIR := $(PROJECT_PATH)/build |
|
125 |
MODULE_DIR := .
|
|
126 |
CONFIG_DIR := $(MODULEDIR)
|
|
127 |
ifeq ($(BUILD_DIR),)
|
|
128 |
BUILD_DIR := $(PROJECT_PATH)/build
|
|
129 | 129 |
endif |
130 |
DEPDIR := $(dir $(BUILDDIR)).dep
|
|
130 |
DEP_DIR := $(dir $(BUILD_DIR)).dep
|
|
131 | 131 |
|
132 | 132 |
# Linker script. |
133 |
LDSCRIPT= STM32F405xG.ld |
|
133 |
LDSCRIPT = STM32F405xG.ld
|
|
134 | 134 |
|
135 | 135 |
# General AMiRo-OS files. |
136 |
include ../../amiroos.mk |
|
136 |
include ../../amiro-os.mk
|
|
137 | 137 |
|
138 | 138 |
# Module specific ChibiOS files. |
139 | 139 |
include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f4xx.mk |
... | ... | |
141 | 141 |
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk |
142 | 142 |
|
143 | 143 |
# Periphery LLDs. |
144 |
AMIROOS_PERIPHERYLLD_INC += $(AMIROLLD)/drivers/AT24C01B/v1 \
|
|
145 |
$(AMIROLLD)/drivers/AT42QT1050/v1 \
|
|
146 |
$(AMIROLLD)/drivers/bq241xx/v1 \
|
|
147 |
$(AMIROLLD)/drivers/bq27500/v1 \
|
|
148 |
$(AMIROLLD)/drivers/INA219/v1 \
|
|
149 |
$(AMIROLLD)/drivers/LED/v1 \
|
|
150 |
$(AMIROLLD)/drivers/MPR121/v1 \
|
|
151 |
$(AMIROLLD)/drivers/PCA9544A/v1 \
|
|
152 |
$(AMIROLLD)/drivers/PCAL6524/v1 \
|
|
153 |
$(AMIROLLD)/drivers/PKxxxExxx/v1 \
|
|
154 |
$(AMIROLLD)/drivers/TPS6211x/v1 \
|
|
155 |
$(AMIROLLD)/drivers/VCNL4020/v1
|
|
144 |
include $(AMIROLLD)/drivers/AT24C01B/v1/alld_AT24C01B.mk
|
|
145 |
include $(AMIROLLD)/drivers/AT42QT1050/v1/alld_AT42QT1050.mk
|
|
146 |
include $(AMIROLLD)/drivers/bq241xx/v1/alld_bq241xx.mk
|
|
147 |
include $(AMIROLLD)/drivers/bq27500/v1/alld_bq27500.mk
|
|
148 |
include $(AMIROLLD)/drivers/INA219/v1/alld_INA219.mk
|
|
149 |
include $(AMIROLLD)/drivers/LED/v1/alld_LED.mk
|
|
150 |
include $(AMIROLLD)/drivers/MPR121/v1/alld_MPR121.mk
|
|
151 |
include $(AMIROLLD)/drivers/PCA9544A/v1/alld_PCA9544A.mk
|
|
152 |
include $(AMIROLLD)/drivers/PCAL6524/v1/alld_PCAL6524.mk
|
|
153 |
include $(AMIROLLD)/drivers/PKxxxExxx/v1/alld_PKxxxExxx.mk
|
|
154 |
include $(AMIROLLD)/drivers/TPS6211x/v1/alld_TPS6211x.mk
|
|
155 |
include $(AMIROLLD)/drivers/VCNL4020/v1/alld_VCNL4020.mk
|
|
156 | 156 |
|
157 | 157 |
# Tests. |
158 | 158 |
AMIROOS_TEST_INC += $(AMIROOS_TEST_DIR)lld/adc \ |
... | ... | |
172 | 172 |
$(AMIROOS_TEST_DIR)periphery-lld/VCNL4020_v1 |
173 | 173 |
|
174 | 174 |
# Module specific inclusion directories |
175 |
MODULE_INC = $(MODULEDIR) \ |
|
176 |
$(wildcard $(MODULEDIR)/test/*) |
|
175 |
MODULE_INC = $(MODULE_DIR) \
|
|
176 |
$(wildcard $(MODULE_DIR)/test/*)
|
|
177 | 177 |
|
178 | 178 |
# Module specific C source files. |
179 | 179 |
MODULE_CSRC = $(wildcard $(MODULE_INC:%=%/*.[Cc])) |
Also available in: Unified diff