aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/hal.mk
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-01-08 20:02:45 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-01-08 20:02:45 +0100
commit91e635b08a57e44ce1f7deb0328a5ae78117f8d4 (patch)
tree23cb783d26ded78d5a759f39c1f917c5b9178979 /os/hal/hal.mk
parent5af099c3665e49ce9323fa79c56a51bf67b9ebab (diff)
downloadChibiOS-Contrib-91e635b08a57e44ce1f7deb0328a5ae78117f8d4.tar.gz
ChibiOS-Contrib-91e635b08a57e44ce1f7deb0328a5ae78117f8d4.tar.bz2
ChibiOS-Contrib-91e635b08a57e44ce1f7deb0328a5ae78117f8d4.zip
Adding rudimentary OPAMP Driver
Diffstat (limited to 'os/hal/hal.mk')
-rw-r--r--os/hal/hal.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/hal.mk b/os/hal/hal.mk
index 377ffa9..f6b4edd 100644
--- a/os/hal/hal.mk
+++ b/os/hal/hal.mk
@@ -72,6 +72,9 @@ endif
ifneq ($(findstring HAL_USE_COMP TRUE,$(HALCONF)),)
HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/hal_comp.c
endif
+ifneq ($(findstring HAL_USE_OPAMP TRUE,$(HALCONF)),)
+HALSRC_CONTRIB += ${CHIBIOS_CONTRIB}/os/hal/src/hal_opamp.c
+endif
else
HALSRC_CONTRIB := ${CHIBIOS_CONTRIB}/os/hal/src/hal_community.c \
${CHIBIOS_CONTRIB}/os/hal/src/hal_nand.c \