aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/COMPv1
diff options
context:
space:
mode:
authorKonstantin Oblaukhov <oblaukhov.konstantin@gmail.com>2018-09-24 20:25:22 +0700
committerKonstantin Oblaukhov <oblaukhov.konstantin@gmail.com>2018-09-24 20:25:22 +0700
commitccfc9108293123edf1de4ca38dd7876d2d357206 (patch)
tree3589c0b2b7a86be2421dfe0f463d60fd6bf3358a /os/hal/ports/STM32/LLD/COMPv1
parent2c725099004628c1992e32390e3245928cd59eb4 (diff)
downloadChibiOS-Contrib-ccfc9108293123edf1de4ca38dd7876d2d357206.tar.gz
ChibiOS-Contrib-ccfc9108293123edf1de4ca38dd7876d2d357206.tar.bz2
ChibiOS-Contrib-ccfc9108293123edf1de4ca38dd7876d2d357206.zip
Update STM32 platform makefiles, add per-driver makefiles.
Diffstat (limited to 'os/hal/ports/STM32/LLD/COMPv1')
-rw-r--r--os/hal/ports/STM32/LLD/COMPv1/driver.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/COMPv1/driver.mk b/os/hal/ports/STM32/LLD/COMPv1/driver.mk
new file mode 100644
index 0000000..e819a32
--- /dev/null
+++ b/os/hal/ports/STM32/LLD/COMPv1/driver.mk
@@ -0,0 +1,9 @@
+ifeq ($(USE_SMART_BUILD),yes)
+ifneq ($(findstring HAL_USE_COMP TRUE,$(HALCONF)),)
+PLATFORMSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
+endif
+else
+PLATFORMSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
+endif
+
+PLATFORMINC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/COMPv1